Deletes a specific Global Accelerator (GA) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteAccelerator |
The operation that you want to perform. Set the value to DeleteAccelerator. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou. |
AcceleratorId | String | Yes | ga-bp1odcab8tmno0hdq**** |
The ID of the GA instance that you want to delete. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
The ID of the request. |
AcceleratorId | String | ga-bp1odcab8tmno0hdq**** |
The ID of the GA instance. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteAccelerator
&RegionId=cn-hangzhou
&AcceleratorId=ga-bp1odcab8tmno0hdq****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteAcceleratorResponse>
<RequestId>6FEA0CF3-D3B9-43E5-A304-D217037876A8</RequestId>
<AcceleratorId>ga-bp1odcab8tmno0hdq****</AcceleratorId>
</DeleteAcceleratorResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
"AcceleratorId" : "ga-bp1odcab8tmno0hdq****"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | NotExist.Accelerator | The accelerated instance does not exist. | The error message returned because the specified GA instance does not exist. |
400 | StateError.Accelerator | The state of the accelerated instance is invalid. | The error message returned because the specified GA instance is invalid. |
400 | BindExist.Accelerator | The accelerated instance is already bound to a bandwidth package. | The error message returned because the specified GA instance is bound to a bandwidth plan. |
400 | Exist.IpSet | The IpSet already exists. | The error message returned because the specified acceleration area already exists. |
400 | Exist.Listener | The listener already exists. | The error message returned because the specified listener already exists. |
For a list of error codes, visit the API Error Center.