---
title: "Update notification status"
method: PATCH
path: "/api/v1/notifications/{id}"
tags: ["notifications"]
---

# Update notification status

`PATCH /api/v1/notifications/{id}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/notifications/{id}`
- Auth: HTTP bearer

Update notification status

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'read' | 'unread': Notification status

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `message` string: Success message
  - `meta` object, required
    - `timestamp` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Notification not found
- `500`: Failed to update notification status

---

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