Call CreateInstanceAccount interface to create account for a DRDS instance.


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 Yes CreateInstanceAccount

Required parameter. Value: CreateInstanceAccount.

AccountName String Yes drds_sample_account

The name of the member account.

DrdsInstanceId String Yes drds_sample_instance_id

The ID of the DRDS instance.

Password String Yes drds_sample_password

The password of the account.

DbPrivilege.N.DbName String No drds_sample_db

The name of the database.

DbPrivilege.N.Privilege String No RW

The access permissions that the account has on the DRDS database.

Response parameters

Parameter Type Example Description
RequestId String FF13E47D-4E38-4A5A-BA68-4E610E******

The ID of the request.

Success Boolean true

Indicates whether the account was created.


Sample requests

http(s):// Action=CreateInstanceAccount
&DbPrivilege=[{"DbName":"drds_sample_db", "Privilege":"RW"}]
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "FF13E47D-4E38-4A5A-BA68-4E610E******",
    "Success": true

Error codes

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