update_task_collaborators
Add or remove collaborators on one task: people who work on it besides its single assignee. A collaborator sees the task in their My Work, is notified about it and may update it, but cannot reassign it or change who collaborates. Name people in add and remove by user id, full or first name, or email; a reference that matches no single org member is reported in warnings and left out. Each person must be an active member of the task's project and is never the assignee; anyone the server does not add or remove is listed in skipped with a reason (NOT_ORG_MEMBER, NOT_PROJECT_MEMBER, IS_ASSIGNEE, ALREADY_COLLABORATOR, NOT_COLLABORATOR, CAP_REACHED). Requires task.assign plus task.edit.any or holding the task, except that anyone may remove themselves. Returns the task's collaborators after the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | People to add, by user id, name or email. At most 50. | |
| dryRun | No | Preview only: resolve the people and check the permission, write nothing. | |
| remove | No | People to remove, by user id, name or email. At most 50. | |
| taskId | Yes | The task to change. |