:doc:`LicenseManager <../../license-manager>` / Client / delete_grant

************
delete_grant
************



.. py:method:: LicenseManager.Client.delete_grant(**kwargs)

  

  Deletes the specified grant.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrant>`_  


  **Request Syntax**
  ::

    response = client.delete_grant(
        GrantArn='string',
        StatusReason='string',
        Version='string'
    )
    
  :type GrantArn: string
  :param GrantArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the grant.

    

  
  :type StatusReason: string
  :param StatusReason: 

    The Status reason for the delete request.

    

  
  :type Version: string
  :param Version: **[REQUIRED]** 

    Current version of the grant.

    

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

    
    ::

      {
          'GrantArn': 'string',
          'Status': 'PENDING_WORKFLOW'|'PENDING_ACCEPT'|'REJECTED'|'ACTIVE'|'FAILED_WORKFLOW'|'DELETED'|'PENDING_DELETE'|'DISABLED'|'WORKFLOW_COMPLETED',
          'Version': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GrantArn** *(string) --* 

        Grant ARN.

        
      

      - **Status** *(string) --* 

        Grant status.

        
      

      - **Version** *(string) --* 

        Grant version.

        
  
  **Exceptions**
  
  *   :py:class:`LicenseManager.Client.exceptions.ValidationException`

  
  *   :py:class:`LicenseManager.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`LicenseManager.Client.exceptions.AuthorizationException`

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

  
  *   :py:class:`LicenseManager.Client.exceptions.RateLimitExceededException`

  
  *   :py:class:`LicenseManager.Client.exceptions.ResourceLimitExceededException`

  
  *   :py:class:`LicenseManager.Client.exceptions.ServerInternalException`

  