AlexaForBusiness / Client / revoke_invitation

revoke_invitation#

AlexaForBusiness.Client.revoke_invitation(**kwargs)#

Revokes an invitation and invalidates the enrollment URL.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

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