The enableFilterAlert() GraphQL mutation may be used to enable an existing filter alert.

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

Syntax

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

graphql
enableFilterAlert(
      input: EnableFilterAlert!
   ): boolean!

Given Datatypes

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

Table: EnableFilterAlert

ParameterTypeRequiredDefaultDescription
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 filter alert to enable.
viewNameRepoOrViewNameyes Name of the view of the filter alert. RepoOrViewName is a scalar.