declineInvitation

Function

import { declineInvitation } from '@esri/arcgis-rest-users';
// username is inferred from UserSession
declineInvitation({
  invitationId: "3ef",
  authentication
})
  .then(response)

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

Parameters

Parameter Type Default Notes
requestOptions Required IInvitationRequestOptions

Options for the request

Returns

Promise<any> - A Promise that will resolve with the success/failure status of the request


Function defined in packages/arcgis-rest-users/src/invitation.ts:139