Sign in

Mark notification read

documented

Mark a single notification as read.

POST /notifications/mark_as_read.jsonNotificationsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$baseUrl}}/notifications/mark-read" \
  -X PUT \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{$api_username}}" \
  -H "Accept: application/json" \
  -F "id={{$notification_id}}"