---
title: "Update department"
method: PUT
path: "/departments/{departmentId}"
tags: ["Departments"]
---

# Update department

`PUT /departments/{departmentId}`

## Path parameters

- `departmentId` integer, required

## Request body

- DepartmentInput
  - `name` string, required

## Response `200`

Department updated successfully

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

## Other responses

- `400` — Invalid department input request body @see {@link DepartmentInput}
- `404` — Department not found
- `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)
