/api/ee/mfa

POST /api/ee/mfa/enroll/confirm

Changed on

Confirm TOTP enrollment by verifying a code from the authenticator app. Activates the second factor and returns the single-use recovery codes — the only time they exist in plaintext.

post/api/ee/mfa/enroll/confirm

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

codestring required

value must be a non-blank string.

Response

Successful response

recovery_codesstring[] required

Changes