---
title: "DELETE /targetgroups/{targetGroupIdentifier}"
method: DELETE
path: "/targetgroups/{targetGroupIdentifier}"
---

# DELETE /targetgroups/{targetGroupIdentifier}

`DELETE /targetgroups/{targetGroupIdentifier}`

Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.

## Path parameters

- `targetGroupIdentifier` string, required

## Response `200`

Success

- DeleteTargetGroupResponse
  - `id` string — The ID of the target group.
  - `arn` string — The Amazon Resource Name (ARN) of the target group.
  - `status` 'CREATE_IN_PROGRESS' | 'ACTIVE' | 'DELETE_IN_PROGRESS' | 'CREATE_FAILED' | 'DELETE_FAILED' — The status. You can retry the operation if the status is <code>DELETE_FAILED</code>. However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, the status doesn't change.

## Other responses

- `480` — ValidationException
- `481` — ConflictException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

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