/invite: Invite to Group

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

Example usage

URL for Invite Users to a Group

1
2
https://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/invite
users=mjohnson, swilson, rfields

Description

A group administrator can invite users to join their group using the invite operation. This creates a new user invitation, which the users accept or decline. The role of the user and the invitation expiration date can be set in the invitation. A notification is created for the user indicating that they were invited to join the group. The operation is available to group owner, manager and organization administrators who has the portal:admin:assignToGroups privilege.

Request parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

users

A comma separated list of usernames to be invited to the group. If a user is already a member of the group or an invitation has already been sent, the call still returns a success.

Example:

1
users=regularusername1,regularusername2

role

Allows administrators to set the user's role in the group. Accepted role values are:

  • group_member: Users assigned this group role have the ability to view and share items with group.
  • group_admin: In addition to viewing and sharing items, users with the group_admin role have the same capabilities as the group owner (invite users to the group, accept or decline group applications, delete content, and remove users).

expiration

Expiration date on the invitation can be set for one day, three days, one week, or two weeks, in minutes.

Example:

1
expiration=1440

JSON Response syntax

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

JSON Response example

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.

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