Deactivate WorkOS organization membership
Approval-gated WorkOS offboarding workflow for one organization membership. It reads the current membership, deactivates exactly that membership through recued-core.workos, and returns the post-change membership record. It never deletes the membership or user, revokes sessions, mutates roles, authenticates users, exchanges tokens, exports audit logs, or calls arbitrary WorkOS APIs.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (5 steps)
membership_id_trim
trim
Trim whitespace from setting membership id
has_membership
compare
Check if membership id trim has data
membership_before
?
deactivate
?
skip: step.has_membership not_equal true
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
workos
setting
=
membership id
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.