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

*****************************
remove_thing_from_thing_group
*****************************



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

  

  Remove the specified thing from the specified group.

   

  You must specify either a ``thingGroupArn`` or a ``thingGroupName`` to identify the thing group and either a ``thingArn`` or a ``thingName`` to identify the thing to remove from the thing group.

   

  Requires permission to access the `RemoveThingFromThingGroup <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/RemoveThingFromThingGroup>`_  


  **Request Syntax**
  ::

    response = client.remove_thing_from_thing_group(
        thingGroupName='string',
        thingGroupArn='string',
        thingName='string',
        thingArn='string'
    )
    
  :type thingGroupName: string
  :param thingGroupName: 

    The group name.

    

  
  :type thingGroupArn: string
  :param thingGroupArn: 

    The group ARN.

    

  
  :type thingName: string
  :param thingName: 

    The name of the thing to remove from the group.

    

  
  :type thingArn: string
  :param thingArn: 

    The ARN of the thing to remove from the 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`

  