Skip to main content
Mutation

markNotificationsRead

Marks the given notifications of the signed-in user read (up to 50; others' ids are ignored). Returns the unread count after.

Arguments

  • ids[ID!]!

    IDs of notifications to mark read.

Returns

Int!

Example

mutation MarkNotificationsRead($ids: [ID!]!) {
  markNotificationsRead(ids: $ids)
}