Update department

Updates department_id for the caller’s role on the order. Coordinator writes coordinator_department_id; executor writes executor_department_id on matching task_group_details rows. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersUpdateDepartmentReq) -> (bool)

Authentication

AuthorizationBearer

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

Path parameters

order_idstringRequired

Request

This endpoint expects an object.
department_idstring or nullOptional
department_id__set_to_NonebooleanOptionalDefaults to false

Response

Successful Response

Errors

422
Orders Update Department V1request Unprocessable Entity Error