Set node projects
PUT/api/nodes/:node_id/projects
Replaces the projects the node runs, with an optional fixed worktree count per project, then creates or removes worktrees to match; a project a node group placed stays assigned when omitted. Requires the Org Owner or Org Admin role. Returns the new assignments plus the worktrees created and removed, tasks requeued and any warnings.
Request
Responses
- 200
- 422
OK
Unprocessable content