SPA Authentication

SPA 2FA Resend - Resend 2FA code

Resends the 2FA verification code to the user email.

POST/api/spa/auth/2fa/resend

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Request Body

application/json
required

The new SpaTwoFactor resource

{
  "twoFactorToken": "eyJ0eXAiOiIyZmEiLCJ1c2VySWQiOjF9..."
}

Response

201application/json

SpaTwoFactor resource created

success
boolean

Success status

Available options: truefalse

Example: true

message
string

Status message

Example: "Verification code has been resent"