v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
admin

Unlink Org Workos

Sever the local org's link to its WorkOS Organization.

Platform-admin-only emergency tool for rolling back accidental bootstraps. Best-effort deletes the WorkOS Organization (so we don't leak orphans into our WorkOS account) and clears the local pointer. A WorkOS deletion failure (e.g. already deleted via the dashboard, rate limit, or transient network error) does not block the local unlink — staff can always re-run the bootstrap to relink.

Local memberships are NOT touched: members keep their seats, but further logins fall back to the personal-Google flow until the org is linked again.

delete/api/admin/organizations/{org_id}/workos

Path parameters

org_idinteger required

Response

Successful Response