Deletes a pay-as-you-go PolarDB cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DeleteDBCluster |
The operation that you want to perform. Set the value to DeleteDBCluster. |
DBClusterId | String | Yes | pc-************** |
The ID of the cluster. |
BackupRetentionPolicyOnClusterDeletion | String | No | NONE |
The retention policy for the backup sets when you delete the cluster. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D0CEC6AC-7760-409A-A0D5-E6CD86****** |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=DeleteDBCluster
&DBClusterId=pc-**************
&<Common request parameters>
Sample success responses
XML
format
<DeleteDBClusterResponse>
<RequestId>D0CEC6AC-7760-409A-A0D5-E6CD86******</RequestId>
</DeleteDBClusterResponse>
JSON
format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Error codes
For a list of error codes, visit the API Error Center.