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

# Create a new department.

`POST /departments`

Creates a new department.<br>The *name* is the only required field.<br>

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string — The new name of the department to update. Required field.

## Response `201`

CREATED

- object
  - `_id` string — The Kenjo _id of the department.
  - `name` string — The name of the department.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
