This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 31, 2025.Delete a target group for your Network Load Balancer
You can delete a target group if it is not referenced by the forward actions of any
listener rules. Deleting a target group does not affect the targets registered with the
target group. If you no longer need a registered EC2 instance, you can stop or terminate
it.
- Console
-
- AWS CLI
-
To delete a target group
Use the delete-target-group command.
aws elbv2 delete-target-group \
--target-group-arn target-group-arn