verifySelfEmail

POST https://{{host}}/api/v1/self/update/verify/:token

We require the user to verify that they actually own the email address they intend to change it to.

After the API call, the user will receive an email to the new email address with a link like https://manage.mist.com/verify/update?expire=:exp_time&email=:admin_email&token=:token

Upon clicking the link, the user is provided with a login page to authenticate using existing credentials. After successful login, the email address of the user gets updated

Note: The request parameter email can be used by UI to validate that the current session (if any) belongs to the admin or provide a login page (by pre-populating the email on login screen). UI can also use the request parameter expire to validate token expiry.

Request Body

{"email"=>"new@mistsys.com"}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring

RESPONSES

status: OK

""