---
title: "Turn the office staff notifications on or off"
method: PUT
path: "/api/notifications/staff-preferences"
tags: ["notifications"]
---

# Turn the office staff notifications on or off

`PUT /api/notifications/staff-preferences`

## Request

- Base URL: `https://api.corabea.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.corabea.it/api/notifications/staff-preferences`
- Auth: HTTP bearer

Turn every push notification for the current office user on or off. Office roles only.

## Request body

- UpdateStaffNotificationsRequest: Turn every push notification for the current office user on or off.
  - `enabled` boolean, required: True to receive push notifications, false to stop them

## Response `200`

Successful Response

- StaffNotificationsResponse: The office staff's single notifications switch.
  - `title` string, nullable: Success title (set only after an update)
  - `enabled` boolean, required: Whether the user receives push notifications

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `841b592f039c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/corabea/apis/corabea-api/changes/api/notifications/staff-preferences/put.md)

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corabea/apis/corabea-api/revisions/4a8dd89893b8?raw)
