Revoke account permissions

Last Updated: Dec 06, 2017


Delete an account’s access permission on a database. The following conditions must be met, otherwise deletion will fail:

  • The current database instance status is Running.

  • The current database status is Running.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: RevokeAccountPrivilege.
DBInstanceId String Yes Instance ID.
AccountName String Yes Name of an account.
DBName String Yes Name of a database.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.


  • Request example

    2. &AccountName=testacc02
    3. &DBName=testdb03
    4. &DBInstanceId=riauvjz6zajfiq6ba1370329449201
    5. &<Public Request Parameters>
  • Return example

    XML format:

    1. <RevokeAccountPrivilegeResponse>
    2. <RequestId>E22099CA-A61E-4992-A0B7-CE82DC175626</RequestId>
    3. </RevokeAccountPrivilegeResponse>

    JSON format:

    1. {
    2. "RequestId":"E22099CA-A61E-4992-A0B7-CE82DC175626"
    3. }
Thank you! We've received your feedback.