Deletes an AnalyticDB for MySQL cluster.
Operation description
-
Subscription clusters cannot be deleted by calling API operations. They are automatically released after expiration. If you no longer need a cluster, you can unsubscribe from it in the Expenses and Costs console. For information about cluster refunds, see Refund policy.
-
After a cluster is deleted, all resources are immediately released, and data is no longer retained and cannot be restored. Proceed with caution.
-
The cluster must be in the Running state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DeleteDBCluster |
delete |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. |
am-bp1u8c0mgfg58**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TaskId |
integer |
The task ID. |
421693038 |
| RequestId |
string |
The request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| DBClusterId |
string |
The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. |
am-bp1u8c0mgfg58**** |
Examples
Success response
JSON format
{
"TaskId": 421693038,
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"DBClusterId": "am-bp1u8c0mgfg58****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.