Remove workspace member
remove_workspace_memberRemoves a team member from a workspace so they lose access to it. Destructive: confirm with the user first, naming the person. Owners and admins can remove others; admins can't remove owners or admins; the owner can't be removed. Passing your own user_id makes you leave the workspace (owners must transfer ownership first). Get user_id from list_workspace_members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The member's user_id from list_workspace_members. | |
| workspace_id | Yes | Workspace to manage. Get from list_workspaces. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |