v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-271727149.6 KB
Departments

Update an existing department.

patch/v1/departments/{id}

Path parameters

idstring required

The unique public id of the department

Example:dpt_1234

The unique public id of the department

Request body

namestring

Response

Success

idstring required

The unique public id of the department

namestring required
createdAtstring required

a string to be decoded into a Date

Example response

{
  "id": "dpt_1234",
  "name": "Engineering"
}