Edits multiple projects using the specified operation.
Returns MultiStatus including the list of successful and failed projects.
Supported operations:
<ul>
<li>changeprojectstatus: changes the status of all selected projects.</li>
<li>changeprojecttype: changes the type of all selected projects.</li>
<li>linkworkflow: links a workflow to all selected projects.</li>
<li>setclient: sets the client for all selected projects.</li>
<li>setprojectlead: changes the responsible project member for all selected projects.</li>
<li>addteams: adds teams to all selected projects.</li>
<li>removeteams: removes teams from all selected projects.</li>
<li>setdates: sets or removes project start and due dates.</li>
<li>adjustdates: offsets project start and due dates by the specified amount of days.</li>
<li>addtags: adds tags to all selected projects.</li>
<li>removetags: removes tags from all selected projects.</li>
<li>delete: deletes all selected projects.</li>
</ul><Check title="Required Permissions" icon="key">The user must have `write` permissions on all projects as well as related entities modified by the operation.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
operation
Batch operation route key.
Request
Validated request body for the selected operation.
projectIds
Project ids affected by the batch operation.
projectStatusId
Target project status for changeprojectstatus.
projectTypeId
Target project type for changeprojecttype.
workflowId
Workflow to link for linkworkflow.
projectStatusMapping
Project status mappings used when linking a workflow.
taskStatusMapping
Task status mappings used when linking a workflow.
keepCustomFields
Whether custom fields should be kept when linking a workflow.
keepCustomAutomations
Whether custom automations should be kept when linking a workflow.
companyId
Company to assign for setclient.
responsibleUserId
Responsible user to assign for setprojectlead.
teamIds
Team ids to add or remove for team batch operations.
newStartDate
New start date for setdates.
newDueDate
New due date for setdates.
removeStartDate
Whether the start date should be removed for setdates.
removeDueDate
Whether the due date should be removed for setdates.
daysOffset
Day offset for adjustdates.
deleteTimeTrackings
Whether related time trackings should be deleted for delete.
Response
Multi-Status
ok
notFound
badRequest
Errors
400
Bad Request Error
401
Unauthorized Error

