---
title: "Update Department"
method: PATCH
path: "/v1/employers/{employerId}/departments/{departmentId}"
tags: ["Departments"]
---

# Update Department

`PATCH /v1/employers/{employerId}/departments/{departmentId}`

Update a department name. Only custom departments can be renamed.

## Path parameters

- `employerId` string, required
- `departmentId` string, required

## Request body

- object
  - `name` string, required

## Response `200`

Default Response

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — Error response
- `409` — Error response
- `500` — Error response

---

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