List Departments
Requires Admin or Owner role.
Response (200):
My Departments
Accessible by Operators. Returns only departments the user belongs to.
Create Department
Body:
Response (201):
Update Department
Body:
All fields are optional. Returns 409 Conflict if the new name already exists.
Delete Department
Response: 204 No Content
Deleting a department automatically clears all references in lead-channels and channels (set to NULL).