My account
Generate backup codes
Generate backup codes for the user.
post/api/my-account/mfa-verifications/backup-codes/generate
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account/mfa-verifications/backup-codes/generate
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Response
The backup codes were generated successfully.
Changes
No recorded changes to this operation across all 8 revisions of this API.