Generate TOTP secret
POST /v1/security/totp/generate — Mints a fresh TOTP secret + QR code URL + backup codes for the user to add to an authenticator app. Step 2 of the Settin
POST /v1/security/totp/generate
Mints a fresh TOTP secret + QR code URL + backup codes for the user to add to an authenticator app. Step 2 of the Settings → Security enable wizard.
| Method | POST |
| Path | /v1/security/totp/generate |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | auth |