:doc:`IoT <../../iot>` / Client / delete_billing_group

********************
delete_billing_group
********************



.. py:method:: IoT.Client.delete_billing_group(**kwargs)

  

  Deletes the billing group.

   

  Requires permission to access the `DeleteBillingGroup <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteBillingGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_billing_group(
        billingGroupName='string',
        expectedVersion=123
    )
    
  :type billingGroupName: string
  :param billingGroupName: **[REQUIRED]** 

    The name of the billing group.

    

  
  :type expectedVersion: integer
  :param expectedVersion: 

    The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the ``DeleteBillingGroup`` request is rejected with a ``VersionConflictException``.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.VersionConflictException`

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

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  