v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

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.

delete/targetgroups/{targetGroupIdentifier}

Path parameters

targetGroupIdentifierstring required

The ID or ARN of the target group.

Response

Success

idstring

The ID of the target group.

arnstring

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.