Deletes a specified PolarDB database account.

Note Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.


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 DeleteAccount

The operation that you want to perform. Set the value to DeleteAccount.

AccountName String Yes testacc

The name of the account.

DBClusterId String Yes pc-*************

The ID of the PolarDB cluster.

Response parameters

Parameter Type Example Description
RequestId String 2FED790E-FB61-4721-8C1C-07C627******

The ID of the request.


Sample requests

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

Sample success responses

XML format


JSON format

   "RequestId": "2FED790E-FB61-4721-8C1C-07C627******"

Error codes

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