Deletes an accelerated IP address of a basic Global Accelerator (GA) instance.
Usage notes
- DeleteBasicAccelerator 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 GetBasicAccelerateIp API operation to query the status of an accelerated IP address:
- If the accelerated IP address is in the deleting state, the accelerated IP address is being deleted. In this case, you can perform only query operations.
- If the system fails to return information about the accelerated IP address, the accelerated IP address is deleted.
- The DeleteBasicAccelerateIp 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 | DeleteBasicAccelerateIp |
The operation that you want to perform. Set the value to DeleteBasicAccelerateIp. |
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, the system uses RequestId as ClientToken. RequestId may be different for each API request.
|
AccelerateIpId | String | Yes | gaip-bp1**** |
The ID of the accelerated IP address that you want to delete. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
AccelerateIpId | String | gaip-bp1**** |
The ID of the accelerated IP address that is deleted. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteBasicAccelerateIp
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&AccelerateIpId=gaip-bp1****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteBasicAccelerateIpResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
<AccelerateIpId>gaip-bp1****</AccelerateIpId>
</DeleteBasicAccelerateIpResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368",
"AccelerateIpId" : "gaip-bp1****"
}
Error codes
For a list of error codes, see Service error codes.