Unprotect
- URL:https://<useritem-url>/unprotect(POST only)
Description
The Unprotect operation (POST only) disables the item protection from deletion.
Request Parameters
Parameter | Details |
|---|---|
| [Common Parameters] |
For a complete listing, see Common parameters. |
Response Properties
Property | Details |
|---|---|
| success |
Indicates if the operation was successful. |
| itemId | The ID of the protected item. |
Example Usage
URL for Unprotect
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/b512083cd1b64e2da1d3f66dbb135956/unprotect
JSON Response Syntax
{
"success": true | false,
"itemId": "<item id>"
}
JSON Response Example
{
"success": true,
"itemId": "b512083cd1b64e2da1d3f66dbb135956"
}