---
title: "Create a new department"
method: POST
path: "/departments"
tags: ["Departments"]
---

# Create a new department

`POST /departments`

## Request body

- DepartmentInput
  - `name` string, required

## Response `201`

Department created successfully

- Department
  - `id` integer, required
  - `name` string, required

## Other responses

- `400` — Invalid department input request body @see {@link DepartmentInput}
- `409` — Department with this name already exists
- `500` — An internal server error occurred.
- `503` — The service is temporarily unavailable. Maybe there is maintenance?

---

[API](https://skmtc.net/ducin-public/apis/itcorpo-api.md) · [All operations](https://skmtc.net/ducin-public/apis/itcorpo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ducin-public/itcorpo-api/revisions/80675117301b/schema)
