---
title: "Update notification"
method: PATCH
path: "/notifications/{notification-id}/users/@me"
tags: ["notification"]
---

# Update notification

`PATCH /notifications/{notification-id}/users/@me`

Update the `read` state of the specified notification of the currently logged in user

## Path parameters

- `notification-id` string, required

## Request body

- NotificationEdit — `read` field will be ignored when editing global messages
  - `title` string
  - `text` string
  - `read` boolean

## Response `200`

Notification edited successfully

- Notification — `read` field will be ignored when editing global messages
  - `id` string, required
  - `created_at` string, date-time, required
  - `global` boolean
  - `title` string
  - `text` string
  - `read` boolean

## Other responses

- `304` — Not modified
- `400` — Bad request
- `401` — Request unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error
- `5XX` — Unexpected/-handled error

---

[API](https://skmtc.dev/discord/apis/copped-aio-database-api.md) · [All operations](https://skmtc.dev/discord/apis/copped-aio-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/discord/copped-aio-database-api/revisions/b60a9661e94b/schema)
