---
title: "Deletes or deactivates an existing department in the currently active company. If the department references any employees, templates or payroll batch records it will be deactivated; otherwise deleted."
method: DELETE
path: "/api/companies/current/departments/{departmentId}"
tags: ["Companies"]
---

# Deletes or deactivates an existing department in the currently active company. If the department references any employees, templates or payroll batch records it will be deactivated; otherwise deleted.

`DELETE /api/companies/current/departments/{departmentId}`

## Path parameters

- `departmentId` integer, required

## Response `200`

OK

- SystemWebHttpResultsOkResult
  - `Request` object

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) · [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intect/intect-rest-api/revisions/e256dcb495d4/schema)
