Description

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

https://rds.aliyuncs.com/?Action=RevokeAccountPrivilege
&AccountName=testacc02
&DBName=testdb03
&DBInstanceId=riauvjz6zajfiq6ba1370329449201
&<Public Request Parameters>

Return example

XML format

<RevokeAccountPrivilegeResponse>
         <RequestId>E22099CA-A61E-4992-A0B7-CE82DC175626</RequestId>
</RevokeAccountPrivilegeResponse>

JSON format

{
         "RequestId":"E22099CA-A61E-4992-A0B7-CE82DC175626"
}