:doc:`AppConfig <../../appconfig>` / Client / untag_resource

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



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

  

  Deletes a tag key and value from an AppConfig resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource>`_  


  **Request Syntax**
  ::

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

    The ARN of the resource for which to remove tags.

    

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

    The tag keys to delete.

    

  
    - *(string) --* 

    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`AppConfig.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AppConfig.Client.exceptions.BadRequestException`

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

  

  **Examples**

  The following untag-resource example removes the group1 tag from the specified application.
  ::

    response = client.untag_resource(
        ResourceArn='arn:aws:appconfig:us-east-1:111122223333:application/339ohji',
        TagKeys=[
            'group1',
        ],
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  