v1

latestOpenAPI 3.1.02026-08-0662251219.8 KB
Departments

Update department

This endpoint updates department by ID.

put/v2/companies/{companyId}/departments/{departmentId}

Request body

idstring uuid required
namestring required

Name of the department

externalIdstring

External id of the department

Example request

{
  "name": "IT Department",
  "externalId": "department-ext-id"
}

Response

Updated Successfully