Configure 2FA
POST/users/self/2fa-configurations
Generate a TOTP secret and QR code so the authenticated user can set up two-factor authentication. The secret stays pending until confirmed and saved via the verification endpoints; failures return success=false.
Responses
- 200
- 404
Success generate configuration 2FA. Failed also return this response but the difference is the data field undefined and success field false.
User not found