ApiAuth
Activate 2FA — verify first code, get backup codes
POST
Verifies the first TOTP code and activates 2FA. Returns 10 single-use backup codes — shown ONCE, store them securely.
bearerX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"Invalid code
curl -X POST 'http://localhost:3001/api/v1/auth/2fa/enable'Example Response400
Empty