Unshare Item (as group admin)

Description

Unshares a public 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

[Common Parameters]

For a complete listing, see Common parameters.

groups

A comma-separated list of group IDs with which you want to stop sharing the item.

Response Properties

Property

Details

notUnsharedFrom

Array of groups from which the item could not be unshared.

itemId

ID of the shared item.

Example Usage

URL for Unshare Item

http://www.arcgis.com/sharing/rest/content/items/af01df44bf36437fa8daed01407138ab/unshare
groups=bf51aa6e879e4676b683dcbefb0ab0a9,cc5f73ab367544d6b954d82cc9c6dab7

JSON Response Syntax

{
  "notUnsharedFrom": [<groups not able to unshare from>],
  "itemId": "<item id>"
}

JSON Response Example

{
  "notUnsharedFrom": [cc5f73ab367544d6b954d82cc9c6dab7],
  "itemId": "af01df44bf36437fa8daed01407138ab"
}

9/13/2017