Auth

Confirm TOTP enrollment

Confirms the TOTP secret using a verification code and optionally trusts the device.

post/auth/mfa/enroll/totp/confirm

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/confirm
  • Auth: one of:
    • API key in header Cookie
    • API key in header X-CSRF-Token

Request body

codestring required
labelstring
method_idinteger required
trust_deviceboolean

Response

OK

mfa_verified_atstring required
recent_step_up_expires_atstring required
trusted_device_cookieboolean required

Changes

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