Users

post/users/me/mfa/setup

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/users/me/mfa/setup
  • Auth: HTTP bearer

Request body

current_passwordstring nullable

Required to enroll MFA on an account that has a password set. Omit (or leave empty) for SSO-only accounts with no local password.

Example request

{
  "current_password": "current_password_value"
}

Response

MFA setup data

qr_codestring required
recovery_codesstring[] required
secret_keystring required

Changes

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