Remove Member
remove_memberRemove a team member from the company, deleting their membership and revoking financial access. Preserves historical data. Cannot remove the last owner; requires owner role.
Instructions
Remove a team member from the company. Deletes their company_members row, revoking all financial access. Their historical data (tasks, interactions, transactions) is preserved. Cannot remove the last owner. Requires owner role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_user_id | Yes | The user_id of the member to remove. |