Invokes the DeleteBasicAccelerator operation to delete a specified basic Alibaba Cloud Global Accelerator (GA) instance.
Operation description
- Upfront (subscription) basic Alibaba Cloud Global Accelerator (GA) instances cannot be deleted. You can unsubscribe on the Unsubscribe page. Before you unsubscribe, make sure that the basic Alibaba Cloud Global Accelerator (GA) instance has no acceleration area or endpoint group configurations and is not attached to a bandwidth plan.
To delete an acceleration area, refer to DeleteBasicIpSet.
To delete an endpoint group, refer to DeleteBasicEndpointGroup.
To disassociate a bandwidth plan from a basic Alibaba Cloud Global Accelerator (GA) instance, refer to BandwidthPackageRemoveAccelerator.
- Before you invoke this operation to delete a pay-as-you-go basic Alibaba Cloud Global Accelerator (GA) instance, make sure that data migration is complete and that the acceleration area and endpoint group configurations under the instance are deleted.
To delete an acceleration area, refer to DeleteBasicIpSet.
To delete an endpoint group, refer to DeleteBasicEndpointGroup.
- DeleteBasicAccelerator is an asynchronous operation. After a request is sent, the system returns a request ID and runs the node in the background. You can invoke GetBasicAccelerator to query the status of the basic Alibaba Cloud Global Accelerator (GA) instance:
If the instance is in the deleting state, the instance is being deleted. In this state, you can only execute query operations.
If the instance cannot be found, the instance is deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:DeleteBasicAccelerator |
delete |
*BasicAccelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the basic Alibaba Cloud Global Accelerator (GA) instance. Set the value to ap-southeast-1. |
cn-hangzhou |
| AcceleratorId |
string |
Yes |
The instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance. |
ga-bp17frjjh0udz4qz**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
| AcceleratorId |
string |
The instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance. |
ga-bp17frjjh0udz4qz**** |
Examples
Success response
JSON format
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45",
"AcceleratorId": "ga-bp17frjjh0udz4qz****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
| 400 | BindExist.Accelerator | The accelerated instance is already bound to a bandwidth package. | The GA instance is already associated with a bandwidth plan. |
| 400 | Exist.IpSet | The IpSet still exists. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.