Skip to content

Complete a 2FA based password reset

Request

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.

Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Path
statestringrequired

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

Bodyapplication/json
identifiersobjectrequired
Example:
{ "email_address": "joe.blow@company.com" }
validatorsobject
Example:
{ "password": "mynewsecurepassword123" }
{ "identifiers": { "email_address": "joe.blow@company.com" }, "validators": { "password": "mynewsecurepassword123" } }

Responses

OK

Headers
any