---
title: "Update read status of a notification"
method: PUT
path: "/api/v2/notifications/inbox/{id}/read-status"
tags: ["Notifications"]
---

# Update read status of a notification

`PUT /api/v2/notifications/inbox/{id}/read-status`

## Path parameters

- `id` string, required

## Response `200`

OK

- CodersdkResponse
  - `detail` string — Detail is a debug message that provides further insight into why the action failed. This information can be technical and a regular golang err.Error() text. - "database: too many open connections" - "stat: too many open files"
  - `message` string — Message is an actionable message that depicts actions the request took. These messages should be fully formed sentences with proper punctuation. Examples: - "A user has been created." - "Failed to create a user."
  - `validations` CodersdkValidationError[] — Validations are form field-specific friendly error messages. They will be shown on a form field in the UI. These can also be used to add additional context if there is a set of errors in the primary 'Message'.
    - `detail` string, required
    - `field` string, required

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
