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 \
--request POST https://[tenant_id].logto.app/api/experience/verification/backup-code/verify \
--header "Content-Type: application/json" \
--data '{"code":"string"}'
Request examples
{
"code": "string"
}
Response examples (200)
{
"verificationId": "string"
}