API Stability Long-Term

The dismissNotification() GraphQL mutation is used to dismiss notifications for a specific user, if allowed by notification type.

For more information on actions, previously known as notifiers, see the Actions documentation page.

Syntax

Below is the syntax for the dismissNotification() mutation field:

graphql
dismissNotification(
      notificationId: string!
   ): boolean!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  dismissNotification(
    notificationId: "bbfCwRrEo35v7R33YglHn" )
}
Example Responses
Show:
json
{
  "data": {
    "dismissNotification": true
  }
}