:doc:`CloudWatchLogs <../../logs>` / Client / untag_resource

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



.. py:method:: CloudWatchLogs.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/logs-2014-03-28/UntagResource>`_  


  **Request Syntax**
  ::

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

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

     

    The ARN format of a log group is ``arn:aws:logs:Region:account-id:log-group:log-group-name``

     

    The ARN format of a destination is ``arn:aws:logs:Region:account-id:destination:destination-name``

     

    For more information about ARN format, see `CloudWatch Logs resources and operations <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html>`__.

    

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

    The list of tag keys to remove from the resource.

    

  
    - *(string) --* 

    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.InvalidParameterException`

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

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  