1. Docs
  2. API Reference
  3. AccountIdentityRowDto

AccountIdentityRowDto

Example

JSON
{
  "id": "string",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "avatar_url": "string",
  "external_id": "string",
  "is_active": false,
  "email_verified": false,
  "environment_membership_count": 0,
  "total_assignments": 0,
  "created_at": "2026-04-20T12:00:00.000Z"
}

Properties

11 properties 9 required

id string Required
email string Required
first_name string Required
last_name string Required
avatar_url string Optional
nullable
external_id string Optional

Customer-supplied stable identifier (e.g. the IdP user ID once SSO ships). Null for identities created directly via the dashboard or API.

nullable
is_active boolean Required

Account-wide master kill switch. When false the identity has no access to any Environment regardless of EnvironmentMembership status.

email_verified boolean Required

True once the identity has clicked the email-verification link.

environment_membership_count number Required

Count of active EnvironmentMembership rows. Zero for orphans — identities that exist in the directory but haven't been added to any Environment yet (SSO-provisioned, invite-pending, or directory-first creation).

total_assignments number Required

Total count of role assignments across every Environment in the Account. Drives the 'has any assignment' filter for surfacing orphans without role grants.

created_at string Required
format: date-time
Was this page helpful?

Tell us how we can improve this guide.