:doc:`CloudWatch <../../cloudwatch>` / Client / untag_resource

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



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

  

  Removes one or more tags from the specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UntagResource>`_  


  **Request Syntax**
  ::

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

    The ARN of the CloudWatch resource that you're removing tags from.

     

    The ARN format of an alarm is ``arn:aws:cloudwatch:Region:account-id:alarm:alarm-name``

     

    The ARN format of a Contributor Insights rule is ``arn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name``

     

    For more information about ARN format, see `Resource Types Defined by Amazon CloudWatch <https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies>`__ in the *Amazon Web Services General Reference*.

    

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

    The list of tag keys to remove from the resource.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudWatch.Client.exceptions.InvalidParameterValueException`

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

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

  
  *   :py:class:`CloudWatch.Client.exceptions.InternalServiceFault`

  
  *   :py:class:`CloudWatch.Client.exceptions.ConflictException`

  