:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / untag_resource

**************
untag_resource
**************



.. py:method:: IoTThingsGraph.Client.untag_resource(**kwargs)

  

  Removes a tag from the specified resource.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UntagResource>`_  


  **Request Syntax**
  ::

    response = client.untag_resource(
        resourceArn='string',
        tagKeys=[
            'string',
        ]
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the resource whose tags are to be removed.

    

  
  :type tagKeys: list
  :param tagKeys: **[REQUIRED]** 

    A list of tag key names to remove from the resource. You don't specify the value. Both the key and its associated value are removed.

     

    This parameter to the API requires a JSON text string argument. For information on how to format a JSON parameter for the various command line tool environments, see `Using JSON for Parameters <https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters.html#cli-using-param-json>`__ in the *AWS CLI User Guide*.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ResourceAlreadyExistsException`

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

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

  