delete_access_token

delete_access_token(**kwargs)

Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.

See also: AWS API Documentation

Request Syntax

response = client.delete_access_token(
    id='string'
)
Parameters
id (string) --

[REQUIRED]

The ID of the personal access token to delete. You can find the IDs of all PATs associated with your user account by calling ListAccessTokens.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • CodeCatalyst.Client.exceptions.ThrottlingException
  • CodeCatalyst.Client.exceptions.ConflictException
  • CodeCatalyst.Client.exceptions.ValidationException
  • CodeCatalyst.Client.exceptions.ServiceQuotaExceededException
  • CodeCatalyst.Client.exceptions.ResourceNotFoundException
  • CodeCatalyst.Client.exceptions.AccessDeniedException