- URL:
- https://[root]/content/users/[userName]/items/[itemID]/delete
- Methods:
POST
Example Usage
URL for Delete Item
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/b512083cd1b64e2da1d3f66dbb135956/delete
Description
The Delete Item operation (POST only) removes both the item and its link from the user's folder by default. This operation is available to the user and to the administrator of the organization to which the user belongs.
For ArcGIS Online organizations, the delete
operation moves the item, if supported, to the recycle bin for 14 days before it is permanently deleted. Any unsupported items are permanently deleted. Learn more about permanently deleting and restoring items.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| In edge cases where a server has been removed from a portal without unfederating, orphaned items may be left behind in the portal. In such cases, a client can pass This property was introduced at ArcGIS Enterprise 10.6.1. |
| Deletes an item permanently. The default is Values: Example:
|
Response Properties
Property | Details |
---|---|
| Indicates if the operation was successful. |
| The ID of the deleted item. |
JSON Response Syntax
{
"success": true | false,
"itemId": "<item id>"
}
JSON Response Example
{
"success": true,
"itemId": "b512083cd1b64e2da1d3f66dbb135956"
}