Skip to content
Recued
Menu
← Back to recipes

Deactivate WorkOS organization membership

by recued-core v1

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 5 steps

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 2 configurable

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.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Workos connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

workos workosidentityoffboardingorganizationmembershipapprovalpack:workos

Details

5 steps 2 configurable settings recipe_id: deactivate-workos-organization-membership