Skip to navigation

Update department on selected tasks

Assigns or clears one department on selected tasks across orders. Missing and other-org tasks are skipped. | authz: min_org_role=operator | (OperationsTasksUpdateDepartmentManyReq) -> (OperationsTasksUpdateDepartmentManyRes)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
operations_task_idslist of stringsRequired
department_idstringOptional
department_id__set_to_NonebooleanOptionalDefaults to false

Response

Successful Response
updated_countinteger

Matched tasks in the caller’s org, including unchanged assignments; missing and other-org tasks are skipped.

Errors

422
Operations Tasks Update Department Many V1request Unprocessable Entity Error