Update project assignments
Add or remove project member and agent assignments in an Enterprise workspace. Added IDs may be unassigned or already assigned to this project; an ID assigned to another project returns entity_already_assigned. Removed IDs are detached only from this project. All workspace members except viewers may write; PATs require the write scope.
Path parameters
Headers
Bearer {access_token}
Request
At least one add/remove array must contain an ID
Agent UUIDs to attach to this project. Each agent may be unassigned or already assigned to this project; assignment to another project returns entity_already_assigned.
Member UUIDs to attach to this project. Each member may be unassigned or already assigned to this project; assignment to another project returns entity_already_assigned.
Agent UUIDs to detach from this project; agents assigned elsewhere are not changed.
Member UUIDs to detach from this project; members assigned elsewhere are not changed.
Response
data: projectId, before, after