Deletes a pay-as-you-go Apsara PolarDB cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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. The retention policy takes effect after you delete the cluster. Valid values:

  • ALL: All backups are permanently retained.
  • LATEST: The latest backup is permanently retained. A backup for the cluster is automatically created before the cluster is deleted.
  • NONE: No backup sets are retained after the cluster is deleted.

Response parameters

Parameter Type Example Description
RequestId String D0CEC6AC-7760-409A-A0D5-E6CD86******

The ID of the request.


Sample requests

http(s):// Action=DeleteDBCluster
&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"

Error codes

For a list of error codes, visit the API Error Center.