Delete Department
DELETE/api/Departments/DeleteDepartment/:id
Tier: Public — stable, supported for third-party integration.
Soft-deletes a Department.
Request
Responses
- 200
- 400
Returns true.
Unknown id (NotFound), or the department still has People or Items assigned to it (IllegalDeleteAttempt, Field "People" or "Items").