Deactivate or delete: What removing a member from an organization actually does
Blog post from WorkOS
AuthKit distinguishes between deactivating and deleting organization memberships: deactivation changes an active membership to inactive while preserving its record, roles, and potential for reactivation, whereas deletion permanently removes the membership and associated roles, consents, invitations, and related resources. Memberships can be pending, active, or inactive, with non-active records requiring explicit status filters when listed. Deactivation revokes organization-specific sessions and pending invitations and emits an update event, but already issued access tokens remain valid until expiration and authorized WorkOS Connect applications may need separate revocation. Reactivation restores prior roles, while changing roles requires an additional update or recreating the membership with specified roles. Pending invitations cannot be deactivated and should instead be deleted to avoid orphaned pending records. Deletion is suited to applications that do not need membership history, while deactivation is preferable when former members, associated content, or future restoration matter. Directory Sync-managed memberships must be changed through the organization’s identity provider rather than the membership API. Applications should consistently use one removal model across interfaces and include token-lifetime and authorized-application cleanup in their offboarding processes.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| MCP | 1 | 16,128 | 1,625 | 232 | +35% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.