updateItem
FunctionupdateItem(requestOptions: IUpdateItemOptions): Promise<IUpdateItemResponse>Update an Item. See the REST Documentation for more information.
import { updateItem } from "@esri/arcgis-rest-portal";
updateItem({
  item: {
    id: "3ef",
    description: "A three hour tour"
  },
  authentication
})
  .then(response)Parameters
| Parameter | Type | Notes | 
|---|---|---|
| request | IUpdateItemOptions | Options for the request. | 
Returns
Promise<IUpdateItemResponse>A Promise that updates an item.