API Stability Long-Term

The disableAlert() GraphQL mutation may be used to disable an alert.

For more information on alerts, see the Triggers documentation page.

Syntax

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

graphql
disableAlert(
      input: DisableAlert!
   ): boolean!

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

Show:
graphql
mutation {
  disableAlert( input:
    { viewName: "humio",
      id: "eweKcj7zbRDJqnS87HE1oZseiocfOGdN"
    } )
}
Example Responses
Show:
json
{
  "data": {
    "disableAlert": true
  }
}

Given Datatypes

For DisableAlert, there are two parameters. Each is described below:

Table: DisableAlert

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 18, 2024
idstringyes  The unique identifier of the alert.
viewNamestringyes  The name of the view of the alert.