---
title: "Mark a notification read (or unread)"
method: PATCH
path: "/notifications/{notificationId}"
tags: ["notifications"]
---

# Mark a notification read (or unread)

`PATCH /notifications/{notificationId}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/notifications/{notificationId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Mark a notification read (or unread).

## Path parameters

- `notificationId` string, required

## Request body

- object
  - `read` boolean: Defaults to true; false marks unread.

## Response `200`

Successful response

- object
  - `ok` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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