You can call this operation to release an OceanBase cluster.
Operation description
Before you call this operation, ensure that the following requirements are met:
- The cluster is in the Running state.
- The cluster is a primary cluster and the billing method is pay-as-you-go.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceIds | string | Yes | The ID of the cluster to be deleted. | [”ob ob3f6yhv9uxxxx“] |
BackupRetainMode | string | No | The backup retention strategy for cluster deletion. Valid values:
Note
Default value: delete_all. | delete_all |
DryRun | boolean | No | Specifies whether to perform only a dry run for the request. Default value: false. Valid values:
| false |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-****-****-B3DB-A3DC0DE3C83E",
"Data": {
"DryRunResult": false
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | BadRequest | BadRequest |
404 | InstanceStatus.Invalid | InstanceStatus.Invalid |
404 | StandbyInstance.StillOnline | StandbyInstance.StillOnline |
404 | UnknownError | UnknownError |
404 | Tenant.StillOnline | Tenant.StillOnline |
404 | ServiceTemporarilyUnavailable | ServiceTemporarilyUnavailable |
404 | NotFound | NotFound |
500 | InternalServerError | InternalServerError |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-30 | The Error code has changed. The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2023-07-04 | The Error code has changed | View Change Details |