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

Remove every second factor and recovery code of an identity in the caller organization and revoke its browser sessions. Organization administrators only. An administrator with an enrolled second factor must have confirmed it within the re-authentication window (POST /auth/mfa/reauth). Self-reset is always refused. 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

200

OK

MFAResetResponse · 2 fields
methods_removedintegerrequired
sessions_revokedinteger · int64required
403

Forbidden: the caller's roles do not grant the permission of the operation, self-reset (details.reason=mfa_self_reset_forbidden), 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).

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

↑ ↓ to moveEnter to openEsc to close