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

*******************************
remove_thing_from_billing_group
*******************************



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

  

  Removes the given thing from the billing group.

   

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

   

  .. note::

    

    This call is asynchronous. It might take several seconds for the detachment to propagate.

    

  

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


  **Request Syntax**
  ::

    response = client.remove_thing_from_billing_group(
        billingGroupName='string',
        billingGroupArn='string',
        thingName='string',
        thingArn='string'
    )
    
  :type billingGroupName: string
  :param billingGroupName: 

    The name of the billing group.

    

  
  :type billingGroupArn: string
  :param billingGroupArn: 

    The ARN of the billing group.

    

  
  :type thingName: string
  :param thingName: 

    The name of the thing to be removed from the billing group.

    

  
  :type thingArn: string
  :param thingArn: 

    The ARN of the thing to be removed from the billing group.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

  