v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
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