Authentication

Complete a 2FA based password reset

Completes the password reset. IMPORTANT: To reset a user's password, first send a POST request to trigger an email with a reset token. This token must be included in the state parameter when calling this API. The validator parameter is optional, if omitted, the OTP can be verified first, and the new password can be submitted separately with the correct OTP.

post/zephr/users/reset/{state}

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/users/reset/{state}
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Path parameters

statestring required

A 6-digit code, which is used to verify the password request.

Request body

Example request

{
  "identifiers": {
    "email_address": "joe.blow@company.com"
  },
  "validators": {
    "password": "mynewsecurepassword123"
  }
}

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.