/leave: Leave Group

URL:
https://[root]/community/groups/[groupID]/leave
Methods:
POST

Example Usage

URL for Leave Group

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true | false,
  "groupId": "<group id>"
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true,
  "groupId": "2ecb37a8c8fb4051af9c086c25503bb0"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.