:doc:`ElasticLoadBalancingv2 <../../elbv2>` / Client / remove_tags

***********
remove_tags
***********



.. py:method:: ElasticLoadBalancingv2.Client.remove_tags(**kwargs)

  

  Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags>`_  


  **Request Syntax**
  ::

    response = client.remove_tags(
        ResourceArns=[
            'string',
        ],
        TagKeys=[
            'string',
        ]
    )
    
  :type ResourceArns: list
  :param ResourceArns: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the resource.

    

  
    - *(string) --* 

    

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

    The tag keys for the tags to remove.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.LoadBalancerNotFoundException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.TargetGroupNotFoundException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.ListenerNotFoundException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.RuleNotFoundException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.TooManyTagsException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.TrustStoreNotFoundException`

  

  **Examples**

  This example removes the specified tags from the specified load balancer.
  ::

    response = client.remove_tags(
        ResourceArns=[
            'arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188',
        ],
        TagKeys=[
            'project',
            'department',
        ],
    )
    
    print(response)

  
  Expected Output:
  ::

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

  