removeItem

Function

import { removeItem } from '@esri/arcgis-rest-items';
//
removeItem({
  id: "3ef",
  authentication
})

Delete an item from the portal. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IItemIdRequestOptions

Options for the request

Returns

Promise<any> - A Promise that deletes an item.


Function defined in packages/arcgis-rest-items/src/remove.ts:28