Deletes an endpoint group.
Operation description
-
DeleteEndpointGroup is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. Call DescribeEndpointGroup to query the endpoint group status.
If the endpoint group is in the deleting state, only query operations are supported.
If the endpoint group cannot be queried, it has been deleted.
-
DeleteEndpointGroup holds an exclusive lock on the Global Accelerator (GA) instance. You cannot call this operation concurrently within the same Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:DeleteEndpointGroup |
delete |
*EndpointGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that ensures the idempotence of the request. You can use the client to generate the token. The token must be unique across requests and can contain only ASCII characters. Note
If you do not specify this parameter, the system uses the request ID as the client token. The request ID may differ for each request. |
123e4567-e89b-12d3-a456-426655440000 |
| AcceleratorId |
string |
No |
The GA instance ID. |
ga-bp1odcab8tmno0hdq**** |
| EndpointGroupId |
string |
Yes |
The endpoint group ID. |
epg-bp1dmlohjjz4kqaun**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
Examples
Success response
JSON format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8\t"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Resource.QuotaFull | The resource quota is exceeded. | The number of resources has reached the upper limit. |
| 400 | NotExist.EndPointGroup | The endpoint group does not exist. | The endpoint group does not exist. |
| 400 | StateError.EndPointGroup | The specified state of endpoint group is invalid. | The endpoint group is in an invalid state. |
| 400 | NotExist.Listener | The listener does not exist. | The listener does not exist. |
| 400 | NotActive.Listener | The state of the listener is not active. | The listener is unstable. |
| 400 | NotExist.Accelerator | The accelerated instance does not exist. | The GA instance does not exist. |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | The status of the GA instance is invalid. |
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
| 403 | Forbbiden.SubUser | You are not authorized to operate on the specified resource because your account was created by another user. | The current account is a RAM user and does not have permissions to manage the specified resources. |
| 403 | Forbidden | The user is not authorized to operate on the specified resource. | The current account does not have permissions to manage the specified resources. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.