removeItem
FunctionremoveItem(requestOptions: IUserItemOptions): Promise<{ itemId: string; success: boolean }>Delete an item from the portal. See the REST Documentation for more information.
import { removeItem } from "@esri/arcgis-rest-portal";
removeItem({
  id: "3ef",
  authentication
})Parameters
| Parameter | Type | Notes | 
|---|---|---|
| request | IUserItemOptions | Options for the request | 
Returns
Promise<{ itemId: string; success: boolean }>A Promise that deletes an item.