clerk.delete_organization_membership
Remove a user from a Clerk organization.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
This action cannot be undone.
Cost = 8 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Clerk user id (user_...) of the member to remove. | |
| organization_id | Yes | Clerk organization id (org_...) to remove the member from. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| membership | No | Deleted organization membership object, when returned. |