remove_project_collaborator
Remove an active collaborator from a project using their target_user_id. Requires Owner role on the project. To cancel a pending invite instead, use cancel_project_invite with the invite_id (grant_id) returned by invite_project_collaborator. Cannot remove the only project owner. Returns: project, user_id, removed (bool).
destructive
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
project_name | str | Yes | — | |
target_user_id | str | Yes | — |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
project(string)user_id(string)removed(boolean)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "remove_project_collaborator", "arguments": { "project_name": "forecasts", "target_user_id": "33333333-3333-3333-3333-333333333333" }}Response
Section titled “Response”{ "project": "forecasts", "user_id": "33333333-3333-3333-3333-333333333333", "removed": true}- Module:
Collaborators - Requires authentication via API token or Auth0 JWT.