All Products
Search
Document Center

ApsaraDB for OceanBase:DeleteTenants

Last Updated:Apr 29, 2024

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TenantIdsstringYes
http(s)://[Endpoint]/?Action=DeleteTenants
&TenantIds=["ob2mr3oae0****", "ob2mr3oae1****"]
&InstanceId=ob317v4uif****
&Common request parameters
["ob2mr3oae0****", "ob2mr3oae1****"]
InstanceIdstringYes

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

ob317v4uif****

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "TenantIds": [
    ""
  ]
}

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
2021-11-04The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 500
Output ParametersThe response structure of the API has changed.