Deletes a specified endpoint that is associated with a basic Global Accelerator (GA) instance.
Usage notes
- DeleteBasicEndpoint is an asynchronous operation. After you send a request, the system returns a request
ID and runs the task in the background. You can call the ListBasicEndpoints API operation to query the status of an endpoint.
- If the endpoint is in the deleting state, it indicates that the endpoint is being deleted. In this case, you can perform only query operations.
- If the endpoint cannot be found, it indicates that the endpoint is deleted.
- The DeleteBasicEndpoint API operation cannot be repeatedly called for the same basic GA instance within a period of time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteBasicEndpoint |
The operation that you want to perform. Set the value to DeleteBasicEndpoint. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among all requests. The token can contain only ASCII characters. Note If you do not specify this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
|
EndpointGroupId | String | Yes | epg-bp1dmlohjjz4kqaun**** |
The ID of the endpoint group that you want to delete. |
EndpointId | String | Yes | ep-bp14sz7ftcwwjgrdm**** |
The ID of the endpoint that you want to delete. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
EndpointId | String | ep-bp14sz7ftcwwjgrdm**** |
The ID of the endpoint that is associated with the basic GA instance. |
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteBasicEndpoint
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&EndpointGroupId=epg-bp1dmlohjjz4kqaun****
&EndpointId=ep-bp14sz7ftcwwjgrdm****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteBasicEndpointResponse>
<EndpointId>ep-bp14sz7ftcwwjgrdm****</EndpointId>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteBasicEndpointResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"EndpointId" : "ep-bp14sz7ftcwwjgrdm****",
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Exist.EndpointGroup | The endpoint group already exists. | The error message returned because the specified endpoint group already exists. |
For a list of error codes, see Service error codes.