DirectoryUser
A request or response body; the type column links to the schemas it refers to.
DirectoryUser
| Field | Type | Required | Description |
|---|---|---|---|
| organization_id | string (uuid) | yes | — |
| user_id | string (uuid) | yes | The member's account id (`users.id`). |
| display_name | string | null | yes | The member's canonical profile, refreshed from their sign-ins. |
| string | null | yes | — | |
| kind | string | yes | `machine` marks accounts created from client-credentials tokens. one of "human" | "machine" |
| active_role_count | integer | yes | Roles the member currently holds here; expired grants are not counted. |
| created_at | string (date-time) | yes | — |
jsonExample
{
"organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"user_id": "8f14e45f-ceea-467f-a10e-cbb9f6bcaf0f",
"display_name": "string",
"email": "string",
"kind": "human",
"active_role_count": 2,
"created_at": "2026-01-01T00:00:00.000Z"
}