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
- application/json
Body
- Array [
- ]
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.
isEqual string
isRegex string
name string
value string
Responses
- 200
- 400
The silence was successfully created.
The request body is invalid or missing required fields.
Loading...