/[invitationID]/accept: Accept Invitation

URL:
https://[root]/community/users/[userName]/invitations/[invitationID]/accept
Methods:
POST

Example Usage

URL for Accept User Invitation

1
https://www.arcgis.com/sharing/rest/community/users/jsmith/invitations/G275a108c7d09472f93917d64bbf37d94 /accept

Description

When a group owner or an administrator invites a user to their group, it results in a user invitation. The invited user accept s the invitation using the Accept Invitation operation (POST only). This operation adds the invited user to the group, and the invitation is deleted. This operation also creates a notification for the user indicating that the user's invitation was accepted. Available only to authenticated users.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

id

The ID of the accepted invitation.

username

The username of the user who accepted the invitation.

groupId

If the targetType of the invitation is "group," the groupId of the joined group is returned.

JSON Response Syntax

1
2
3
4
5
6
{
  "success": true | false,
  "username": "<username>",
  "groupId": "<group id>",
  "id": "<invitation id>"
}

JSON Response Example

1
2
3
4
5
6
{
  "success": true,
  "username": "jsmith",
  "groupId": "2ecb37a8c8fb4051af9c086c25503bb0",
  "id": "G275a108c7d09472f93917d64bbf37d94"
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close