Begins TOTP enrollment
POST/api/v1/users/me/two_factor/setup
Generates a fresh TOTP secret and provisioning URI. The secret is rotated on each call until 2FA is confirmed via /two_factor/confirm. Requires the user's current password.
Request
Responses
- 200
- 401
- 409
secret provisioned
wrong or missing password
two-factor already enabled