Docs
Live demo
POST/api/v2/identities/{id}/mfa/unlock
security:manageConsole session only

Unlock second-factor verification for another identity in the caller organization. Organization administrators only. Preserves factors, recovery codes and sessions. Self-unlock is forbidden. An administrator with an enrolled second factor must have confirmed it within the re-authentication window (POST /auth/mfa/reauth). An API token makes this change only when it was issued with allow_security_changes.

Parameters

Path1 required of 1
idstring · uuidpathrequired

Identity ID.

Responses

204

Verification unlocked

403

Forbidden: the caller's roles do not grant the permission of the operation, self-unlock, or the administrator has a second factor that was not confirmed recently (details.reason=mfa_reauth_required), or the request uses an API token issued without allow_security_changes (details.reason=api_token_security_changes_not_allowed).

429

Verification is busy. Retry after the Retry-After interval.

Common errors: 400 401 404 409 500 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close