/user/ch-password
Use the interface to change the user's login password. The current password must be input when changing the password.
Request Mode
POST /api/user/ch-password
| Parameter | Description |
|---|---|
| password | The current password which is encrypted with SHA256 |
| new-password | The new password which is encrypted with SHA256 |
Response Body
{
"status": 0
}
| Name | Description |
|---|---|
| status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |