Modifies ModifyAccountPrivilege permissions of an Apsara stack tenant account.


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 Required ModifyAccountPrivilege

Required parameter. Value: ModifyAccountPrivilege.

AccountName String Required test

The name of the account.

DrdsInstanceId String Required drds************

The ID of a DRDS instance.

DbPrivilege.N.DbName String No test

The name of the database for which you want to modify permissions.

DbPrivilege.N.Privilege String No RW

The database permission. Valid values:

  • R: Read-only
  • RW: read and write
  • DML: DML only
  • DDL: the DDL statement.

Response parameters

Parameter Type Example Description
RequestId String 40E313AD-3B7C-4E34-B3BF-58AD01******

The ID of the request.

Success Boolean true

Indicates whether the database creation failure records were removed from the DRDS instance.


Sample requests

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

Sample success responses

XML format


JSON format

        "RequestId": "40E313AD-3B7C-4E34-B3BF-58AD01******",
        "Success": true

Error codes

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