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. suspended_at is set when Nametrust has suspended the member's account on every organization. It is independent of status: the organization's own deactivation still applies on its own, and a suspended member can be active here, with access returning as the organization left it once the suspension is lifted. team_ids lists every team the member has joined, including teams the caller cannot read. Resolve them with GET /teams?id=..., which returns only the teams the caller can read: an id it does not return is a team outside the caller's reach.
- objectType: string
Resource type identifier
- deactivatedType: string
_at When the membership was deactivated (nil when status is active)
- deactivatedType:
_by Properties: 11User who performed the deactivation (nil when status is active or actor was purged)
- deactivatedType: string
_reason Free-form note recorded at deactivation time (nil when status is active)
- suspendedType: string
_at When Nametrust suspended the member's account on every organization (nil unless suspended)
- idType: string
User identifier
- userType:Properties: 11
User profile (timestamps on this sub-object are global across all orgs)
- rolesType:Properties: 9
Roles assigned to this member
- teamType: array of string
_ids Every team the member has joined in this org, in team id order, whether or not the caller can read it. Disabled teams are listed, deleted ones are not; empty when the member is on no team
- 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"