All Products
Search
Document Center

ApsaraDB for OceanBase:DeleteDatabases

Last Updated:Apr 21, 2023

You can call this operation to delete one or more tenants from an OceanBase cluster.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TenantIdstringYes

The ID of the tenant.

ob2mr3oae0****
DatabaseNamesstringYes

The list of database names.
It is a JSON array. Each object in the array is a database name string.

["sms_pre", "pay_pre"]
InstanceIdstringNo

The ID of the OceanBase cluster.

ob317v4uif****

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

RequestIdstring

The request ID.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history