- URL:
- https://[root]/content/users/[userName]/items/[itemID]/unshare
- Methods:
POST
Example Usage
URL for Unshare Item
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/b512083cd1b64e2da1d3f66dbb135956/unshare
groups=4774c1c2b79046f285b2e86e5a20319e,cc5f73ab367544d6b954d82cc9c6dab7
Description
Stops sharing the item with the specified list of groups (POST only). Available to the user and the administrator of the organization to which the user belongs, if any.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| A comma-separated list of group IDs that should not share the item. |
Response Properties
Property | Details |
---|---|
| Array of groups from which the item could not be unshared. |
| ID of the unshared item. |
JSON Response syntax
{
"notUnsharedFrom": [<groups not able to unshare from>],
"itemId": "<item id>"
}
JSON Response example
{
"notUnsharedFrom": [cc5f73ab367544d6b954d82cc9c6dab7],
"itemId": "b512083cd1b64e2da1d3f66dbb135956"
}