API Stability Long-Term

The deleteNotification() GraphQL mutation may be used to delete a notification from LogScale. It requires root access.

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

Syntax

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

graphql
deleteNotification(
      notificationId: string!
   ): boolean!

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

Show:
graphql
mutation {
  deleteNotification( 
    notificationId: "PZ5VTHfaNMQASqpO78JDUidFTtsnjXfS" )
}
Example Responses
Show:
json
{
  "data": {
    "deleteNotification": true
  }
}