---
title: "Delete department"
method: DELETE
path: "/company/v1/departments/{departmentId}"
tags: ["departments (usersService)"]
---

# Delete department

`DELETE /company/v1/departments/{departmentId}`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/company/v1/departments/{departmentId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/uspacy-api-2/docs/company/v1/departments/:departmentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete department.

## Response `204`

No content

## Other responses

- `401`: Access token is missing or invalid
- `403`: Forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/uspacy/apis/uspacy-api-2.md) - [All operations](https://skmtc.dev/uspacy/apis/uspacy-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/uspacy-api-2/revisions/c3f48fd1c26b?raw)
