---
title: "Deletes or deactivates an existing sub unit in the currently active company. If the sub unit has references it will be deactivated; otherwise deleted."
method: DELETE
path: "/api/companies/current/subunits/{subUnitId}"
tags: ["Companies"]
---

# Deletes or deactivates an existing sub unit in the currently active company. If the sub unit has references it will be deactivated; otherwise deleted.

`DELETE /api/companies/current/subunits/{subUnitId}`

## Path parameters

- `subUnitId` integer, required

## Response `200`

OK

- SystemWebHttpResultsOkResult
  - `Request` object

## Changes

- **2026-09-06** `f7ce32a12afb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/intect/apis/intect-rest-api/changes/api/companies/current/subunits/:subUnitId/delete.md)

---

[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.dev/intect/apis/intect-rest-api/revisions/41ae718b9054?raw)
