revoke_invitation

revoke_invitation(**kwargs)

Revokes an invitation and invalidates the enrollment URL.

See also: AWS API Documentation

Request Syntax

response = client.revoke_invitation(
    UserArn='string',
    EnrollmentId='string'
)
Parameters
  • UserArn (string) -- The ARN of the user for whom to revoke an enrollment invitation. Required.
  • EnrollmentId (string) -- The ARN of the enrollment invitation to revoke. Required.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • AlexaForBusiness.Client.exceptions.NotFoundException
  • AlexaForBusiness.Client.exceptions.ConcurrentModificationException