The disableFilterAlert() GraphQL mutation may be used to disable an existing filter alert.

For more information on filter alerts, see the Filter Alerts documentation page.

Syntax

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

graphql
disableFilterAlert(
      input: DisableFilterAlert!
   ): boolean!

Given Datatypes

For the input DisableFilterAlert, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: DisableFilterAlert

ParameterTypeRequired[a]DefaultDescription
viewNameRepoOrViewNameyes Name of the view of the filter alert.
idstringyes The unique identifier of the filter alert to disable.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.