POST /services/mimir/alertmanager/api/v2/silences

Creates or updates a silence that targets this system's alerts.

The proxy automatically injects a system_key matcher for this system into the silence, overwriting any client-supplied system_key matcher. This ensures silences can only target this system's alerts.

Access control: Requires HTTP Basic Auth with valid system credentials.

Silence matchers: The silence must include at least one matcher (e.g., alertname). The system_key matcher is added automatically and cannot be customized.

application/json

Body Required

object object

Silence object with matchers, startsAt, endsAt, createdBy, comment

POST /services/mimir/alertmanager/api/v2/silences
curl \
 --request POST 'https://api.your-domain.com/api/services/mimir/alertmanager/api/v2/silences' \
 --user "username:password" \
 --header "Content-Type: application/json"
Request examples
{}