:doc:`CostExplorer <../../ce>` / Client / untag_resource

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



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

  

  Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see `ResourceTag <https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html>`__.

    

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

    A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CostExplorer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CostExplorer.Client.exceptions.LimitExceededException`

  