Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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