Retrieve account list information for the specified instance and the specified database or the information of the specified account.

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: DescribeAccounts.
DBInstanceId String Yes Instance ID.
AccountName String No Name of an account.

Return parameters

Name Type Description
<Public Return Parameters> For more information, see Public parameters.
Accounts List<DBInstanceAccount> Array composed of the accounts.

DBInstanceAccount parameters

Name Type Description
DBInstanceId String ID of the instance to which the account belongs.
AccountName String Name of the database operation account.
AccountStatus String Account status. Values:
  • Unavailable
  • Available
AccountDescription String Account remarks.
DatabasePrivileges List<DatabasePrivilege> Array composed of DatabasePrivileges.
AccountType String Type of account.
  • Normal: Common privilege.
  • Super: High privilege.

DatabasePrivilege parameters

Name Type Description
DBName String Name of a database.
AccountPrivilege String Name of the database account.

Request example
&<Public Request Parameters>

Response example

XML format


JSON format

    "Accounts": {
      "DBInstanceAccount": [
          "AccountDescription": "", 
          "DBInstanceId": "rdsubauieubauie", 
          "DatabasePrivileges": {
            "DatabasePrivilege": []
          "AccountStatus": "Unavailable", 
          "AccountName": "testaccount"
    "RequestId": "8D9A9689-F108-43B4-9D2E-0A52FF42B008"