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

# Toggle Department Visibility

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

Show or hide a department from employee-facing dropdowns. Works for both default and custom departments.

## Path parameters

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

## Request body

- object
  - `hidden` boolean, required

## Response `200`

Default Response

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

## Other responses

- `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/e6e553c2594a/schema)
