:doc:`ResourceGroups <../../resource-groups>` / Client / untag

*****
untag
*****



.. py:method:: ResourceGroups.Client.untag(**kwargs)

  

  Deletes tags from a specified resource group.

   

  **Minimum permissions**

   

  To run this command, you must have the following permissions:

   

  
  * ``resource-groups:Untag``
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Untag>`_  


  **Request Syntax**
  ::

    response = client.untag(
        Arn='string',
        Keys=[
            'string',
        ]
    )
    
  :type Arn: string
  :param Arn: **[REQUIRED]** 

    The Amazon resource name (ARN) of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

    

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

    The keys of the tags to be removed.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'Arn': 'string',
          'Keys': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon resource name (ARN) of the resource group from which tags have been removed.

        
      

      - **Keys** *(list) --* 

        The keys of the tags that were removed.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`ResourceGroups.Client.exceptions.BadRequestException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.ForbiddenException`

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

  
  *   :py:class:`ResourceGroups.Client.exceptions.MethodNotAllowedException`

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

  
  *   :py:class:`ResourceGroups.Client.exceptions.InternalServerErrorException`

  