set-app-password
Use the interface to set the password of the APP.
Request Mode
POST http://ip/mwapi/set-app-password
Parameter |
Description |
pairingMode |
The login mode. 0: Free login 1: Password to login 2: Pairing to login |
new-password |
The new password in base64 ciphertext, which must be filled in when "Password to login" is set. |
{
"pairingMode":0,
"new-password":"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92"
}
Response Body
{
"message": "success",
"status": 0
}
Name |
Description |
status |
0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |