Docs
Live demo
GET/api/v2/identities/{id}/mfa/requirement
security:readAPI token

Whether the caller organization requires a second factor from this person and why: the organization requires it from everyone, the person is an administrator while the organization requires it from selected people and administrators, or an administrator marked the person.

Parameters

Path1 required of 1
idstring · uuidpathrequired

Identity ID.

Responses

200

OK

IdentityMFARequirementResponse · 5 fields
availablebooleanrequired

False when the installation does not offer a second factor. Then nobody is asked for one.

enrolledbooleanrequired

The person has an active second factor.

markedbooleanrequired

An administrator marked the person.

organization_requirementstringrequired

What the organization of the person requires: off, selected (marked people and administrators) or everyone.

offselectedeveryone
required_bystringrequired

Why a second factor is required: organization (from everyone), administrator (the person holds the admin role while the organization requires selected people and administrators), selected (the person is marked). Null when it is not required.

organizationadministratorselected
can be null

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

↑ ↓ to moveEnter to openEsc to close