/user/set-password
Use the interface to reset the password, and it does not need to input the current password. Only the administrator has the rights.
Request Mode
POST /api/user/set-password
Parameter | Description |
---|---|
username | The user login name |
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. |