Docs
Live demo
POST/api/v2/auth/mfa/reauth/{id}/recovery
Signed-in sessionConsole session only

Consume a recovery code for the re-authentication challenge and mark the session as recently verified.

Parameters

Path1 required of 1
idstringpathrequired

Re-authentication challenge identifier returned by the start call.

Request body application/json · MFACodeRequest

Required1 of 1 fields
codestringrequired

Authenticator or recovery code.

min length 6 · max length 64

Responses

200

OK

MFAReauthResponse · 3 fields
methodstringrequired
totpwebauthnrecovery_code
verified_atstring · date-timerequired
valid_untilstring · date-timerequired
404

Not Found (resource.not_found): the object does not exist or belongs to another organization. Both answer the same.

409

Verification was already consumed. Start a new challenge. The session stays valid.

429

Rate limited (request.rate_limited). Identity lockout returns details.reason=mfa_locked and details.retry_at (UTC RFC3339). Retry-After is the delay in seconds.

Common errors: 400 401 403 413 500 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close