:doc:`Route53GlobalResolver <../../route53globalresolver>` / Client / delete_access_token

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



.. py:method:: Route53GlobalResolver.Client.delete_access_token(**kwargs)

  

  Deletes an access token. This operation cannot be undone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53globalresolver-2022-09-27/DeleteAccessToken>`_  


  **Request Syntax**
  ::

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

    The unique identifier of the access token to delete.

    

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

    
    ::

      {
          'id': 'string',
          'status': 'CREATING'|'OPERATIONAL'|'DELETING',
          'deletedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The unique identifier of the deleted access token.

        
      

      - **status** *(string) --* 

        The final status of the deleted access token.

        
      

      - **deletedAt** *(datetime) --* 

        The date and time when the access token was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ThrottlingException`

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

  