:doc:`Batch <../../batch>` / Client / untag_resource

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



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

  

  Deletes specified tags from an Batch resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/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 from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

    

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

    The keys of the tags to be removed.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Batch.Client.exceptions.ClientException`

  
  *   :py:class:`Batch.Client.exceptions.ServerException`

  

  **Examples**

  This demonstrates calling the UntagResource action.
  ::

    response = client.untag_resource(
        resourceArn='arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1',
        tagKeys=[
            'Stage',
        ],
    )
    
    print(response)

  
  Expected Output:
  ::

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

  