:doc:`CodeDeploy <../../codedeploy>` / Client / delete_git_hub_account_token

****************************
delete_git_hub_account_token
****************************



.. py:method:: CodeDeploy.Client.delete_git_hub_account_token(**kwargs)

  

  Deletes a GitHub account connection.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken>`_  


  **Request Syntax**
  ::

    response = client.delete_git_hub_account_token(
        tokenName='string'
    )
    
  :type tokenName: string
  :param tokenName: 

    The name of the GitHub account connection to delete.

    

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

    
    ::

      {
          'tokenName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``DeleteGitHubAccountToken`` operation.

      
      

      - **tokenName** *(string) --* 

        The name of the GitHub account connection that was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`CodeDeploy.Client.exceptions.GitHubAccountTokenNameRequiredException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.GitHubAccountTokenDoesNotExistException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.InvalidGitHubAccountTokenNameException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.ResourceValidationException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.OperationNotSupportedException`

  