Admin Authentication
Enable two-factor authentication
Changed onVerifies a six-digit code from the authenticator app against the setup secret and turns two-factor authentication on. Returns eight one-time backup codes, shown only here and emailed to the admin.
post/account/two-factor/enable
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Enabled.
Changes
- info
endpoint added
- info