Skip To Content

/leave: Leave Group

  • URL:https://[root]/community/groups/[groupID]/leave(POST only)

Example Usage

URL for Leave Group

https://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/leave

Description

The Leave Group operation (POST only) is available to all group members other than the group owner. Leaving a group automatically results in the unsharing of all items the user has shared with the group.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails
success

Indicates if the operation was successful.

groupId

The ID of the group the user left.

JSON Response Syntax


            {
  "success": true | false,
  "groupId": "<group id>"
}

JSON Response Example


            {
  "success": true,
  "groupId": "2ecb37a8c8fb4051af9c086c25503bb0"
}