Skip to main content

Create new silence

POST 

/v1/grafana/api/alertmanager/grafana/api/v2/silences

Create a new silence to temporarily suppress alerts based on specified matchers and duration.

Request

Body

    startsAt string

    Date and time in UTC when the silence begins.

    endsAt string

    Date and time in UTC when the silence ends.

    comment string

    A description or comment about the silence, its purpose, or any relevant details.

    createdBy string

    Name of the user who created the silence.

    matchers object[]

    List of matchers defining which alerts the silence applies to.

  • Array [
  • isEqual string
    isRegex string
    name string
    value string
  • ]

Responses

The silence was successfully created.

Loading...