Resets the password of a DRDS database ChangeAccountPassword.

Debugging

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 ChangeAccountPassword

Required parameter. Value: ChangeAccountPassword.

AccountName String Yes test

The name of the member account.

DrdsInstanceId String Yes drds********

The ID of the DRDS instance.

Password String Yes test

The new password.

Response parameters

Parameter Type Example Description
RequestId String DSSDF-SEWE-*****

The ID of the request.

Success Boolean true

Indicates whether the request was successful.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=ChangeAccountPassword
&AccountName=test
&DrdsInstanceId=drds********
&Password=test
&<Common request parameters>

Sample success responses

XML format

<RequestId>DSSDF-SEWE-*****</RequestId>
<Success>true</Success>

JSON format

{
    "RequestId": "DSSDF-SEWE-*****",
    "Success": true
}

Error codes

HTTP status code Error code Error message Description
400 ActionUnauthorized The specified action is not available for you The error message returned because you are not authorized to perform this action. Perform RAM authorization first.

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