Remove Organization Member
remove-organization-memberRemove an accepted member from a RawTree organization and revoke their access, using the organization and member user ID. Confirms removal; prevents removing the last admin.
Instructions
Purpose: Remove an accepted member from a RawTree organization and revoke their organization access.
Returns: Whether the member was removed.
NOT for: Revoking a pending invitation. Use list-organization-members to identify an accepted member and obtain their user ID.
Auth: Requires a user credential with organization admin access. Authorization is enforced by the RawTree API. RawTree prevents removing the last organization admin.
Safety: This revokes the member's access to the organization. You MUST confirm the exact organization and member with the user before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Member user ID returned by list-organization-members. | |
| organization | Yes | Organization containing the member. |