1. Docs
  2. API Reference
  3. AccountIdentityDetailResponseDto

AccountIdentityDetailResponseDto

Example

JSON
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "avatar_url": "string",
  "external_id": "string",
  "metadata": {},
  "is_active": false,
  "erased_at": "2026-04-20T12:00:00.000Z",
  "email_verified": false,
  "email_verified_at": "2026-04-20T12:00:00.000Z",
  "locked_until": "2026-04-20T12:00:00.000Z",
  "password_changed_at": "2026-04-20T12:00:00.000Z",
  "environment_membership_count": 0,
  "total_assignments": 0,
  "created_at": "2026-04-20T12:00:00.000Z",
  "environment_memberships": [
    {
      "id": "string",
      "environment_id": "string",
      "environment_slug": "string",
      "environment_name": "string",
      "application_slug": "string",
      "application_name": "string",
      "status": "active",
      "created_at": "2026-04-20T12:00:00.000Z",
      "assignment_count": 0
    }
  ]
}

Properties

17 properties 10 required

id string Required
email string Required
first_name string Required
last_name string Required
avatar_url string Optional
nullable
external_id string Optional
nullable
metadata object Optional
nullable
is_active boolean Required
erased_at string Optional

When set, the identity has been erased (GDPR/CCPA): personal data wiped, only a pseudonymous tombstone remains. Mutually exclusive with normal use — the UI shows an Erased state and hides lifecycle actions.

format: date-timenullable
email_verified boolean Required
email_verified_at string Optional
format: date-timenullable
locked_until string Optional

When non-null and in the future, the identity is locked out from login attempts. Set by the progressive lockout policy on repeated failed logins.

format: date-timenullable
password_changed_at string Optional
format: date-timenullable
environment_membership_count number Required
total_assignments number Required
created_at string Required
format: date-time
environment_memberships array of AccountIdentityEnvironmentMembershipDto Required

Every active EnvironmentMembership for this identity, ordered by Application then Environment name. Each entry carries the env + app slug/name so the drawer can render links without an additional lookup, plus the per-env assignment count.

Was this page helpful?

Tell us how we can improve this guide.