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.

  • Resource type identifier

  • When the membership was deactivated (nil when status is active)

  • User who performed the deactivation (nil when status is active or actor was purged)

    Properties: 11
  • Free-form note recorded at deactivation time (nil when status is active)

  • When Nametrust suspended the member's account on every organization (nil unless suspended)

  • User identifier

  • User profile (timestamps on this sub-object are global across all orgs)

    Properties: 11
  • Roles assigned to this member

    Properties: 9
  • 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

  • When the membership was created

  • When the user last successfully authenticated into this org (nil if never)

  • When the user last made an authenticated request in this org (debounced ~1 minute, nil if never)

  • Membership lifecycle status: "active" or "inactive"