Skip to content

Replace alertmanager route list API Reference

PUT
/tenants/{tenant}/alertmanager/routes

Replaces the full list of child routes on the root route. The root route itself is preserved (always exists with the default receiver). Send an empty list to remove all child routes.

tenant
required
string

Tenant name

If-Match
string

Wrapper ETag

Full ordered route list

object
items
Array<object>
object
active_time_intervals
Array<string>
continue
boolean
group_by
Array<string>
Example
[
"alertname",
"cluster"
]
group_interval
string
Example
5m
group_wait
string
Example
30s
match
object
key
additional properties
string
match_re
object
key
additional properties
string
matchers
Array<string>
Example
[
"severity=\"critical\""
]
mute_time_intervals
Array<string>
receiver
string
Example
slack
repeat_interval
string
Example
4h

Routes after replacement

object
items
Array<object>
object
active_time_intervals
Array<string>
continue
boolean
group_by
Array<string>
Example
[
"alertname",
"cluster"
]
group_interval
string
Example
5m
group_wait
string
Example
30s
match
object
key
additional properties
string
match_re
object
key
additional properties
string
matchers
Array<string>
Example
[
"severity=\"critical\""
]
mute_time_intervals
Array<string>
receiver
string
Example
slack
repeat_interval
string
Example
4h

Validation error

object
code
string
error
string
field
string
message
string
severity
string

ETag mismatch

object
code
string
error
string
field
string
message
string
severity
string