- URL:
- https://[root]/content/users/[userName]/items/[itemID]/removeResources
- Methods:
POST
Example Usage
URL for Remove Resources
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/0c66beb52dff4994be67937cdadbdb1f/removeResourcesDescription
The remove resources operation (POST only) allows to remove one or all file resources on an item. The item size is updated once resource files are deleted.
The operation is only available to the item owner, organization administrator and members of the group with item update capability.
Request Parameters
| Parameter | Details |
|---|---|
| For a complete listing, see Common parameters. |
| Resource item to be removed. The full file resource path/name needs to be specified. Example: |
| (Optional) If Default is |
Response Properties
| Property | Details |
|---|---|
| Indicates if the operation was successful. |
JSON Response Syntax
{
"success": true
}JSON Response Example
{
"success": true
}
or
{"error": {
"code": 404,
"message": "Resource does not exist or is inaccessible.",
"details": []
}}