Leave Group
- URL:https://<group-url>/leave(POST only)
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
|
Parameter |
Details |
|---|---|
| [Common Parameters] |
For a complete listing, see Common parameters. |
Response Properties
|
Property |
Details |
|---|---|
| success |
Indicates if the operation was successful. |
| groupId | The ID of the group the user left. |
Example Usage
URL for Leave Group
https://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/leave
JSON Response Syntax
{
"success": true | false,
"groupId": "<group id>"
}
JSON Response Example
{
"success": true,
"groupId": "2ecb37a8c8fb4051af9c086c25503bb0"
}