Resets the logon password of an 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 ResetLoginPassword

The operation that you want to perform. Set the value to ResetLoginPassword.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

Password String Yes test

The logon password.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

RequestId String EB9C5722-51E2-4497-A573-575B0CA5CE0C

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ResetLoginPassword
&<Common request parameters>

Sample success responses

JSON format


XML format


Error codes

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