Membership
Organization member with user profile, assigned roles, and per-org activity timestamps. The embedded user's last_login_at and last_active_at are global (across all orgs); the top-level last_login_at and last_active_at on this resource are scoped to this specific org — nil if the user has never logged into or been active in this org. The status field reflects the membership lifecycle. When inactive, deactivated_at, deactivated_by, and deactivated_reason provide the audit trail for the deactivation.
- objectType: string
Resource type identifier
- idType: string
User identifier
- userType: object · User
User profile with identity and display metadata
- objectType: string
Resource type identifier
- idType: string
Unique identifier for the user
- emailType: string
User's email address
- firstType: string
_name User's first name
- lastType: string
_name User's last name
- avatarType: string
_url URL to user's avatar image
- mfaType: boolean
_enabled Whether MFA is enabled for this user
- createdType: string
_at When the user was created
- updatedType: string
_at When the user was last updated
- lastType: string
_login _at When the user last successfully authenticated anywhere (global across all orgs; nil if never). For per-org login recency, see the membership resource's last_login_at.
- lastType: string
_active _at When the user last made an authenticated request anywhere (global across all orgs; debounced ~1 minute, nil if never). For per-org activity recency, see the membership resource's last_active_at.
- rolesType: array object[] · Role[]
Roles assigned to this member
Role identity and display metadata
- objectType: string
Resource type identifier
- idType: string
Unique identifier for the role
- nameType: string
Role display name
- slugType: string
URL-safe role slug
- descriptionType: string
Description of the role's purpose
- isType: boolean
_system Whether this is a system role (member, billing, admin, owner)
- createdType: string
_at When the role was created
- updatedType: string
_at When the role was last updated
- joinedType: string
_at When the membership was created
- lastType: string
_login _at When the user last successfully authenticated into this org (nil if never)
- lastType: string
_active _at When the user last made an authenticated request in this org (debounced ~1 minute, nil if never)
- statusType: string
Membership lifecycle status: "active" or "inactive"
- deactivatedType: string
_at When the membership was deactivated (nil when status is active)
- deactivatedType: object · User
_by User profile with identity and display metadata
- objectType: string
Resource type identifier
- idType: string
Unique identifier for the user
- emailType: string
User's email address
- firstType: string
_name User's first name
- lastType: string
_name User's last name
- avatarType: string
_url URL to user's avatar image
- mfaType: boolean
_enabled Whether MFA is enabled for this user
- createdType: string
_at When the user was created
- updatedType: string
_at When the user was last updated
- lastType: string
_login _at When the user last successfully authenticated anywhere (global across all orgs; nil if never). For per-org login recency, see the membership resource's last_login_at.
- lastType: string
_active _at When the user last made an authenticated request anywhere (global across all orgs; debounced ~1 minute, nil if never). For per-org activity recency, see the membership resource's last_active_at.
- deactivatedType: string
_reason Free-form note recorded at deactivation time (nil when status is active)