Skip to main content

Disable Email as 2FA Method

DELETE 

/api/auth/2fa/email

Disable email as 2FA method.

Learn more about email as 2FA method here.

A security alert will be sent to the user's email if this setting is enabled and email is enabled and configured correctly.

Locale

A locale can be specified for this request. The email will be sent in the specified locale. You can learn more about locale in emails here.

If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.

Tokens

  • A valid AccessToken is required.
  • A valid StepUpToken is required. This token should match user and session contained in the AccessToken.

Request

Responses

Updated user information.