Get two-factor setup data
GET/settings/enable_two_factor
Retrieve the QR code and secret needed to set up two-factor authentication. The user should scan the QR code with an authenticator app (e.g. Google Authenticator, Authy).
Responses
- 200
- 401
- 403
- 422
- 429
- 500
Two-factor setup data including QR code
Authentication required or token invalid
Insufficient permissions for this action
Validation failed
Too many requests — rate limit exceeded
Unexpected server error