v15

latestOpenAPI 3.0.0MIT Licenseraw.githubusercontent.com2026-08-016088119.5 KB
security

Manage multi-factor authentication

Activate or deactivate multi-factor authentication for the authenticated user

post/user/mfa

Request body

codestring required

Verification code from the authenticator app when activating MFA

activeMfaType'totp' | ''

Type of MFA to activate. Use empty string to disable MFA.

Example request

{
  "code": "123456",
  "activeMfaType": "totp"
}

Response

MFA status successfully updated

'OK' required