Skip to main content

Mark all notifications as read

POST/notifications/actions/read-all/
v2
POST
notifications-read-all-notifications

Mark all notifications for the authenticated user as read.

Request

Responses

application/json

OK

  • status"read"
    required
  • updatedCountinteger (int32)
    required

    The number of notifications that have been updated.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/notifications/actions/read-all?severities=success&referenceId=f0f86186-0a5a-45b2-aa33-502777496347&referenceAggregate=string&referenceDomain=string