Skip to content

PUT/notifications/{id}

Replace notification

Full replacement. All mutable fields overwritten. Triggers `notifications.updated` webhook.

Parameters 1

NameTypeDescription
idrequiredpath · integerResource identifier

ReturnsNotification

AcceptsNotificationInput

Bearer token required

Response examples

200Notification replaced

application/json example derived from schema

{
  "id": 1,
  "userId": 1,
  "type": "error",
  "title": "Error notification",
  "message": "New follower on your profile.",
  "read": true,
  "link": null,
  "createdAt": "2026-03-23T15:22:15.402Z"
}
400400 — invalid input or malformed JSON

application/json

{
  "error": {
    "status": 400,
    "message": "Request body required"
  }
}
404404 — resource not found

application/json

{
  "error": {
    "status": 404,
    "message": "users #999 not found"
  }
}

Released under the MIT License.