---
title: "Update notification preferences"
method: PATCH
path: "/api/v1/notification/preferences"
tags: ["Notifications"]
---

# Update notification preferences

`PATCH /api/v1/notification/preferences`

## Request

- Base URL: `http://:8080`
- URL: `http://:8080/api/v1/notification/preferences`
- Auth: none declared

Update notification preferences.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: May mutate server state.

## Headers

- `Accept` string

## Request body `*/*`

- UpdatePreferenceRequest: UpdatePreferenceRequest schema
  - `category` string, required: Notification category
  - `enabled` boolean: Whether this notification preference is enabled
  - `type` string, required: Preference type identifier

## Response `200`

OK

- MessageResponse: MessageResponse schema
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nixopus/apis/nixopus-api/changes/api/v1/notification/preferences/patch.md)

---

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