updateItem

updateItem

Function
updateItem(requestOptionsIUpdateItemOptions): Promise<IUpdateItemResponse>

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
import { updateItem } from "@esri/arcgis-rest-portal";

updateItem({
  item: {
    id: "3ef",
    description: "A three hour tour"
  },
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IUpdateItemOptions

Options for the request.

Returns 
Promise<IUpdateItemResponse>

A Promise that updates an item.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.