:doc:`CodeCatalyst <../../codecatalyst>` / Client / delete_access_token

*******************
delete_access_token
*******************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteAccessToken>`_  


  **Request Syntax**
  ::

    response = client.delete_access_token(
        id='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the personal access token to delete. You can find the IDs of all PATs associated with your Amazon Web Services Builder ID in a space by calling  ListAccessTokens.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CodeCatalyst.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ConflictException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ValidationException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.AccessDeniedException`

  