WorkMail / Client / delete_personal_access_token
delete_personal_access_token#
- WorkMail.Client.delete_personal_access_token(**kwargs)#
Deletes the Personal Access Token from the provided WorkMail Organization.
See also: AWS API Documentation
Request Syntax
response = client.delete_personal_access_token( OrganizationId='string', PersonalAccessTokenId='string' )
- Parameters:
OrganizationId (string) –
[REQUIRED]
The Organization ID.
PersonalAccessTokenId (string) –
[REQUIRED]
The Personal Access Token ID.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException