Generate backup codes
Create a new BackupCode verification record with new backup codes generated. This verification record will be used to bind the backup codes to the user's profile.
POST
/api/experience/verification/backup-code/generate
curl \
-X POST https://[tenant_id].logto.app/api/experience/verification/backup-code/generate
Response examples (200)
{
"verificationId": "string",
"codes": [
"string"
]
}