---
title: "GET /#Action=DetachLoadBalancerTargetGroups"
method: GET
path: "/#Action=DetachLoadBalancerTargetGroups"
---

# GET /#Action=DetachLoadBalancerTargetGroups

`GET /#Action=DetachLoadBalancerTargetGroups`

<note> <p>This API operation is superseded by <a>DetachTrafficSources</a>, which can detach multiple traffic sources types. We recommend using <code>DetachTrafficSources</code> to simplify how you manage traffic sources. However, we continue to support <code>DetachLoadBalancerTargetGroups</code>. You can use both the original <code>DetachLoadBalancerTargetGroups</code> API operation and <code>DetachTrafficSources</code> on the same Auto Scaling group.</p> </note> <p>Detaches one or more target groups from the specified Auto Scaling group.</p> <p>When you detach a target group, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain running.</p> <note> <p>You can use this operation to detach target groups that were attached by using <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that were attached by using <a>AttachTrafficSources</a>.</p> </note>

## Query parameters

- `AutoScalingGroupName` string, required
- `TargetGroupARNs` XmlStringMaxLen511[], required
- `Action` 'DetachLoadBalancerTargetGroups', required
- `Version` '2011-01-01', required

## Response `200`

Success

## Other responses

- `480` — ResourceContentionFault

---

[API](https://skmtc.net/aws/apis/autoscaling.md) · [All operations](https://skmtc.net/aws/apis/autoscaling/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/autoscaling/versions/5e07057bfecf/schema)
