Skip To Content
ArcGIS Developer
Dashboard

/share: Share Item (as group admin)

  • URL:https://[root]/content/items/[itemID]/share(POST only)
  • Required Capability:Group Owner | Administrator

Example Usage

URL for Share Item

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

Description

Shares a public or org item with groups owned or administered by the calling user. For items owned by the user, this Share Item resource works the same as user Share Item including the everyone and org parameters.

Note:

Administrators may share an item to a group on the owners behalf. There are no sharing restrictions, if the item has a public or org sharing level. The items with private sharing level may only be shared to groups to which the item owner has sharing access.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

groups

A comma-separated list of group IDs with which the item will be shared.

confirmItemControl

Set to true when the items will be shared with groups that have item update capability so that any member of such groups can update the item that is shared with them.

Response Properties

PropertyDetails
notSharedWith

Array of groups with which the item could not be shared.

itemId

ID of the item being shared.

JSON Response Syntax

{
  "notSharedWith": [<groups not able to share with>],
  "itemId": "<item id>"
}

JSON Response Example

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