joinGroup

joinGroup

Function
joinGroup(requestOptionsIUserGroupOptions): Promise<{ groupId: string; success: boolean }>

Make a request as the authenticated user to join a Group. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
import { joinGroup } from '@esri/arcgis-rest-portal';
//
joinGroup({
  id: groupId,
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IUserGroupOptions

Options for the request

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

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

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