Releases a pay-as-you-go PolarDB cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DeleteDBCluster |
delete |
*dbcluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
pc-************** |
|
| BackupRetentionPolicyOnClusterDeletion |
string |
No |
The cluster ID. |
NONE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
Examples
Success response
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Error response
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EngineMigration.ActionDisabled | Specified action is disabled while custins is in engine migration. | The specified operation is disabled when custins is being migrated across engines. |
| 400 | InvalidParamBackupRetentionPolicyOnClusterDeletion.Malformed | Invalid BackupRetentionPolicyOnClusterDeletion value. Please retain the backup set. | Invalid BackupRetentionPolicyOnClusterDeletio value. Retain the backup set. |
| 400 | InvalidBackupRetentionPolicyOnClusterDeletion.Malformed | The specified BackupRetentionPolicyOnClusterDeletion is invalid. | The specified BackupRetentionPolicyOnClusterDeletion parameter is invalid. |
| 403 | OperationDenied.DBClusterDeletionLock | The operation is not permitted due to the deletion lock of cluster. | This operation is not supported while a deletion lock exists in the cluster. |
| 403 | OperationDenied.OperateStatus | Specified action is denied by operate status. | The operation is denied because the |
| 403 | OperationDenied.ClusterStatus | The PolarDB cluster is not allowed to release when it is not running. | Stopped PolarDB clusters cannot be released. |
| 403 | OperationDenied.DBClusterPayType | The operation is not permitted due to the pay type of cluster. | This operation is not supported by the billing method of the cluster. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.