Resets the logon password of a Container Registry instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InstanceId | string | Yes | The ID of the instance. | cri-kmsiwlxxdcva**** |
| Password | string | Yes | The new password that you specify to log on to the instance. The password must be 8 to 32 bits in length, and must contain at least two of the following character types: letters, special characters, and digits. | test |
Response parameters
Examples
Sample success responses
JSONformat
{
"Code": "success",
"IsSuccess": true,
"RequestId": "EB9C5722-51E2-4497-A573-575B0CA5CE0C"
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 403 | NoPrivilege | Access denied for this user. |
| 500 | SystemError | Unknown error. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
