updateItem

Function

import { updateItem } from '@esri/arcgis-rest-items';
//
updateItem({
  item: {
    id: "3ef",
    description: "A three hour tour"
  },
  authentication
})
  .then(response)

Update an Item. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IItemUpdateRequestOptions

Options for the request.

Returns

Promise<IItemUpdateResponse> - A Promise that updates an item.


Function defined in packages/arcgis-rest-items/src/update.ts:52