- URL:https://[root]/community/groups/[groupID]/applications/[applicationUsername]/decline(POST only)
Example Usage
URL for Decline Group Application
https://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/applications/mjohnson/decline
Description
When a user applies to join a group, a group application is created. Group administrators can decline this application using the Decline Group Application operation (POST only). This operation deletes the application and creates a notification for the user indicating that the user's group application was declined. The applying user will not be added to the group. Available only to group owners and admins.
Request Parameters
Parameter | Details |
---|---|
[Common Parameters] | For a complete listing, see Common parameters. |
Response Properties
Property | Details |
---|---|
success | Indicates if the operation was successful. |
username | The username of the user being declined from joining the group. |
groupId | The group ID of the group that declined the user. |
JSON Response Syntax
{
"success": true | false,
"username": "<username>",
"groupId": "<group id>"
}
JSON Response Example
{
"success": true,
"username": "mjohnson",
"groupId": "2ecb37a8c8fb4051af9c086c25503bb0"
}