GuidesHow ToManage Administrators
Recover Password
To request a Password recovery, you can use the Recover Password API Call. This will send an email to the administrator to reset the password, and reinitialize the 2 Factor Authentication.
POST /api/v1/recover
Request
{
"email": "test@mistsys.com",
"recaptcha": "see https://www.google.com/recaptcha/"
}
Parameter
| Name | Type | Description |
|---|---|---|
email | string | Required. max length is 64 |
recaptcha | string | reCAPTCHA |
Response
Status: 200 OK
An email will also be sent to the user with a link to https://manage.mist.com/verify/recover?token=:token
Verify Recover Password
To validate the Password Reset, you can use the Verify Recover Passsword API Call with the token sent by email.
POST /api/v1/recover/verify/:token
Response
With correct verification, the user will be authenticated. UI can then prompt for new password
Status: 200 OK
Set-Cookie: csrftoken=vwvBuq9qkqaKh7lu8tNc0gkvBfEaLAmx; expires=Tue, 15-Mar-2016 19:47:20 GMT; Max-Age=31449600; Path=/