:doc:`XRay <../../xray>` / Client / untag_resource

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



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

  

  Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system tags (those with an ``aws:`` prefix).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

    

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

    Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

  
  *   :py:class:`XRay.Client.exceptions.ThrottledException`

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

  