Skip to content

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

NameTypeRequiredDefaultDescription
project_namestrYes
target_user_idstrYes

Returns a structured object. Top-level fields:

  • project (string)
  • user_id (string)
  • removed (boolean)

See the response example below for the full payload shape.

{
"name": "remove_project_collaborator",
"arguments": {
"project_name": "forecasts",
"target_user_id": "33333333-3333-3333-3333-333333333333"
}
}
{
"project": "forecasts",
"user_id": "33333333-3333-3333-3333-333333333333",
"removed": true
}
  • Module: Collaborators
  • Requires authentication via API token or Auth0 JWT.