PUT
/
api
/
v1
/
notifications
/
{id}
curl --request PUT \
  --url https://app.aegister.com/api/v1/notifications/{id} \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": [],
  "data": {
    "id": 11,
    "organization": {
      "id": 5,
      "name": "Sample Organization",
      "logo": "https://sample.com/logo.svg"
    },
    "title": "Subscription payment",
    "message": "The active subscription has been canceled.",
    "type": "info",
    "action": "link",
    "read": true,
    "datetime": "2023-11-07T05:31:56Z",
    "icon": "fa-solid fa-circle-info",
    "extra": {
      "href": "/organizations/edit/1#subscriptions"
    }
  }
}

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

id
integer
required

Response

200
application/json
error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
Example:

0

messages
any[]

If error is 1, contains zero or more details on the error.

Example:
[]
data
object