acceptInvitation

acceptInvitation

Function
acceptInvitation(requestOptionsIGetUserInvitationOptions): Promise<{ groupId: string; id: string; success: boolean; username: string }>

Accept an invitation. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
import { acceptInvitation } from '@esri/arcgis-rest-portal';

acceptInvitation({
  invitationId: "3ef",
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IGetUserInvitationOptions

Options for the request

Returns 
Promise<{ groupId: string; id: string; success: boolean; username: string }>

A Promise that will resolve with the success/failure status of the request

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