:doc:`RecycleBin <../../rbin>` / Client / untag_resource

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



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

  

  Unassigns a tag from a retention rule.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UntagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the retention rule.

    

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

    The tag keys of the tags to unassign. All tags that have the specified tag key are unassigned.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`RecycleBin.Client.exceptions.ValidationException`

  
  *   :py:class:`RecycleBin.Client.exceptions.InternalServerException`

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

  