remove_team_member
Remove a team member from your organization by user ID, immediately revoking their API access. Prevents removing the last active owner and returns not_found for unknown IDs.
Instructions
Remove one member from the caller's organization by user_id (find ids with list_team_members). Requires an admin API key. The member is suspended immediately — their API keys stop authenticating at once — and removing the last active owner is refused (last_owner). An unknown user_id fails with not_found. Returns removed: true with the removed user_id. Use update_team_member_role to change access without removing the member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Member's user_id from list_team_members. |