Auth

Start TOTP enrollment

Generates a TOTP secret, provisioning URI, and backup codes for the authenticated user.

post/auth/mfa/enroll/totp/start

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/auth/mfa/enroll/totp/start
  • Auth: one of:
    • API key in header Cookie
    • API key in header X-CSRF-Token

Response

OK

backup_codesstring[] required
method_idinteger required
secretstring required
uristring required

Changes

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