Accept Group Application

Description

When a user applies to join a group, a group application is created. Group administrators choose to accept this application using the Accept Group Application operation (POST only). This operation adds the applying user to the group then deletes the application. This operation also creates a notification for the user indicating that the user's group application was accepted. 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 accepted into the group.

groupId

The group ID of the group that accepted the user's application.

Example Usage

URL for Accept Group Application:

http://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/applications/mjohnson/accept

JSON Response Syntax

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

JSON Response Example

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

7/5/2017