:doc:`PinpointEmail <../../pinpoint-email>` / Client / untag_resource

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



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

  

  Remove one or more tags (keys and values) from a specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/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 that you want to remove one or more tags from.

    

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

    The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

     

    To remove more than one tag from the resource, append the ``TagKeys`` parameter and argument for each additional tag to remove, separated by an ampersand. For example: ``/v1/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2``

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`PinpointEmail.Client.exceptions.BadRequestException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.NotFoundException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.TooManyRequestsException`

  