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

# Update Department Roster

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

Batch add and/or remove employees from a department. Send arrays of employee IDs to add or remove.

## Path parameters

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

## Request body

- object
  - `add` string[]
  - `remove` string[]

## Response `200`

Default Response

- object
  - `success` boolean, required
  - `added` number, required
  - `removed` number, required
  - `message` string, required

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — 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)
