POST
/auth/reset-passwordSet a new password
Completes a password reset by checking the emailed code against the address and replacing the account's password with the one supplied.
AccessNo sign-in required
Call this after POST /auth/request-password-reset
has emailed a code. Send the address, the code from that email, and the new
password in one request. The code is the reset code, not the two-factor code
that POST /auth/otp-validate uses, and it belongs to
the address it was issued for.
Once the call reports success, the old password no longer works and the holder
can sign in with the new one through POST /auth/login. If
the code is no longer accepted, ask for another with
POST /auth/request-password-reset rather
than retrying this call.
Body parameters
emailstringrequiredThe address the reset code was requested for.
otpstringrequiredThe reset code from the email, as a string.
new_passwordstringrequiredThe password the account will sign in with from now on.
Was this page helpful?