1. Docs
  2. API Reference
  3. AccountIdentityMfaResponseDto

AccountIdentityMfaResponseDto

Example

JSON
{
  "factors": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "totp",
      "label": "iPhone 15",
      "enrolled_at": "2026-04-20T12:00:00.000Z",
      "last_used_at": "2026-04-20T12:00:00.000Z",
      "webauthn_rp_id": "acme.com"
    }
  ],
  "recovery_codes_generation": 0,
  "recovery_codes_remaining": 0,
  "mfa_admin_reset_at": "2026-04-20T12:00:00.000Z"
}

Properties

4 properties 3 required

factors array of MfaFactorResponseDto Required
recovery_codes_generation number Required

Generation number of the active recovery-code batch. 0 means no batch has ever been issued; 1+ tracks regenerations.

recovery_codes_remaining number Required

Unredeemed code count in the current generation.

mfa_admin_reset_at string Optional

Timestamp of the most recent admin force-reset. `null` if MFA has never been reset for this identity.

format: date-timenullable
Was this page helpful?

Tell us how we can improve this guide.