You can call this operation to revoke access permissions on one or more databases for a standard database account of a specified ApsaraDB for PolarDB cluster.


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
AccountName String Yes testacc The name of the account.
Note You can only specify a standard account.
DBClusterId String Yes pc-xxxxxxxxxxxxxxx The ID of the cluster.
DBName String Yes testDB Specifies the name of the database. Separate multiple names with commas (,).
AccessKeyId String No key-test The AccessKey ID provided to you by Alibaba Cloud.
Action String No RevokeAccountPrivilege

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

Response parameters

Parameter Type Example Description
RequestId String 2FED790E-FB61-4721-8C1C-07C627FA5A19 The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=RevokeAccountPrivilege
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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