Update a department (config only)
Header Parameters
Path Parameters
Stable department ID. Unchanged by rename or reparent.
Body Parameters
Show child attributes
Response
Department updated.
Response Attributes
A single department resource (write response — no depth/memberCount).
Show child attributes
Validation failed — see examples for operation-specific codes.
Response Attributes
Show child attributes
Access token is missing or invalid.
Response Attributes
Show child attributes
Authenticated but not permitted — caller is not an admin/super-admin, or the LaunchDarkly flag public-acl-api-ekp-55221 is off.
Response Attributes
Show child attributes
URL {departmentId} or body parentDepartment references a
department that is not visible to this caller (unknown, or in
another tenant).
Response Attributes
Show child attributes
data.type does not match this collection's resource type
(per JSON:API spec).
Response Attributes
Show child attributes
Request Content-Type is not application/vnd.api+json. Required on POST / PATCH /v2/admin/departments (JSON:API parser).
Response Attributes
Show child attributes
Unexpected server error.