Auth

Update preferred MFA method

Sets the user's preferred MFA method for sign-in (totp or webauthn)

put/auth/mfa/preferred-method

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

Request body

preferred_methodstring

"totp", "webauthn", or null to clear

Response

OK

statusstring required

Changes

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