Start two factor authentication process

Starts the two factor authentication process. An email will be sent to the email address provided in the request with a link to complete the process.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
action
string
Enum: "login" "register" "completeRegistration"
object
method
string
Value: "email"
Responses
201

OK

404

User not found

405

Two factor authentication is not active

post/blaize/two-factor-authentication
Request samples
application/json
{
  • "action": "login",
  • "identifiers": {
    },
  • "method": "email"
}