RemoveTags - Elastic Load Balancing

RemoveTags

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.

To list the current tags for your resources, use DescribeTags.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ResourceArns.member.N

The Amazon Resource Name (ARN) of the resource.

Type: Array of strings

Required: Yes

TagKeys.member.N

The tag keys for the tags to remove.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

ListenerNotFound

The specified listener does not exist.

HTTP Status Code: 400

LoadBalancerNotFound

The specified load balancer does not exist.

HTTP Status Code: 400

RuleNotFound

The specified rule does not exist.

HTTP Status Code: 400

TargetGroupNotFound

The specified target group does not exist.

HTTP Status Code: 400

TooManyTags

You've reached the limit on the number of tags for this resource.

HTTP Status Code: 400

TrustStoreNotFound

The specified trust store does not exist.

HTTP Status Code: 400

Examples

Remove tags from a load balancer

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

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=RemoveTags &ResourceArns.member.1=arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 &TagKeys.member.1=project &TagKeys.member.2=department &Version=2015-12-01 &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: