TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Notifications Mark Notifications As Read

Mark Notifications As Read

On this page

GraphQL endpoint: /user

Marks the notifications with the supplied ids as read. Ids that belong to another owner are ignored.

Query

mutation ($ids: [ID!]!) {
  markNotificationsAsRead(ids: $ids) {
    status
  }
}

Variables

{
  "ids": [
    "00000000-0000-4000-8000-000000000001",
    "00000000-0000-4000-8000-000000000002"
  ]
}

Response

{
  "data": {
    "markNotificationsAsRead": {
      "status": "OK"
    }
  }
}