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.

  • Resource type identifier

  • 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)

  • User identifier

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

    Properties: 11
  • Roles assigned to this member

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

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