- URL:
- https://[root]/content/items/[itemID]/unshare
- Methods:
POST
- Required Capability:
- Group Owner | Administrator
Example Usage
URL for Unshare Item
https://www.arcgis.com/sharing/rest/content/items/af01df44bf36437fa8daed01407138ab/unshare
groups=bf51aa6e879e4676b683dcbefb0ab0a9,cc5f73ab367544d6b954d82cc9c6dab7
Description
Unshares a public or org item with groups that the calling user owns or administers. For the items owned by the user, this Unshare Item resource works the same as user Unshare Item.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| A comma-separated list of group IDs with which you want to stop sharing the item. |
Response Properties
Property | Details |
---|---|
| Array of groups from which the item could not be unshared. |
| ID of the shared item. |
JSON Response Syntax
{
"notUnsharedFrom": [<groups not able to unshare from>],
"itemId": "<item id>"
}
JSON Response Example
{
"notUnsharedFrom": [cc5f73ab367544d6b954d82cc9c6dab7],
"itemId": "af01df44bf36437fa8daed01407138ab"
}