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.

delete_access_token

CodeCatalyst.Client.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