- URL:
- https://[root]/content/users/[userName]/deleteItems
- Methods:
POST
Example Usage
URL for Delete Items
https://www.arcgis.com/sharing/rest/content/users/jsmith/deleteItems?items=93b54c8930ae46d9a00a7820cb3ebbd1,bb8e3d443ab44878ab8315b00b0612ca
Description
Deletes a batch of items owned or administered by the calling user.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| A comma separated list of items to be deleted. |
Response Properties
Property | Details |
---|---|
| An array of JSON objects, one for each item requested. Each object is made up of the |
JSON Response Syntax
{"results": [{
"itemId": "<item id>",
"success": true | false,
"error": {
"code": code,
"message": "<error message>"
}
}]
}
JSON Response Example
{"results": [
{
"itemId": "93b54c8930ae46d9a00a7820cb3ebbd1",
"success": true,
},
{
"itemId": "bb8e3d443ab44878ab8315b00b0612ca",
"success": false,
"error": {
"code": 500,
"message": "Item does not exist or is inaccessible"
}
}
]}