REST API ReferenceSetup 2FaOn this pageSetup 2Fa POST /v1/auth/2fa/setup Generates and returns a TOTP secret and QR code for setting up 2FA. The secret is stored temporarily in Redis. Responses 200 Successful Response {}