UpdateDepartmentRequest

A request or response body; the type column links to the schemas it refers to.

UpdateDepartmentRequest

FieldTypeRequiredDescription
slugstringno

Unique within the organization. Slugs are lowercase letters and digits in words separated by single hyphens, like customer-success.

1–100 characters · matches ^[a-z0-9]+(-[a-z0-9]+)*$

namestringno

1–200 characters

descriptionstring | nullno

Send null or empty to clear the description.

at most 2000 characters

parent_department_idstring (uuid) | nullno

Moves the department under another in the same organization — never itself or anything nested beneath it. Send null to make it top level.

jsonExample
{
  "slug": "string",
  "name": "string",
  "description": "string",
  "parent_department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341"
}