Department

Update a department.

put/api/departments/{id}

Path parameters

idstring required

Request body

namestring required

Identifying name. Must be unique.

descriptionstring nullable

Description of the department. Replaces the existing value.

workCenterIdsstring[] nullable

Identifiers of the work centers associated with this department. Replaces the existing set. Please reference /api/work-centers endpoint.

Response

The updated department

idstring required

Unique id associated to this entity.

namestring required

Identifying name. Must be unique.

deletedboolean

Indicates whether this department has been deleted

Changes

No recorded changes to this endpoint across all 12 revisions of this API.