Verify backup code
Create a new BackupCode verification record and verify the provided backup code against the user's backup codes. The verification record will be marked as verified if the code is correct.
POST
/api/experience/verification/backup-code/verify
curl \
-X POST https://[tenant_id].logto.app/api/experience/verification/backup-code/verify \
-H "Content-Type: application/json" \
-d '{"code":"string"}'
Request examples
{
"code": "string"
}
Response examples (200)
{
"verificationId": "string"
}