Replace a routing rule
FULL REPLACEMENT, not a merge. Every field you do not send is RESET, not kept: PUT {"name": "P1 → SRE"} on a rule that used to catch critical + firing for the SRE group leaves it with no severities, no statuses, no label matchers and no recipient group. Read the rule first, change what you want, send the whole thing back.
That reset is not a cosmetic loss. An empty filter set means MATCHES EVERYTHING, so a rule stripped this way becomes a catch-all at its own position: every rule after it in the integration stops being reached, and the emptied rule falls back to its default action, which suppresses. Alerts keep arriving and nobody gets woken. The answer is still 200 and nothing appears in any log.
position is not settable here — use the reorder endpoint. There is no PATCH on this path: it would read as partial update and behave as replacement, so it answers 405.
Request
- Base URL: https://wardenpoint.com (the document declares no server; this is the origin it was published from)
- URL: https://wardenpoint.com/api/v1/observability/routing-rules/{routing_rule}
- Auth: API key in header X-API-Key
Path parameters
Routing rule UUID.
Request body
Example request
{
"label_matchers": [
{
"key": "service",
"value": "checkout"
}
]
}Response
Updated rule.
Example response
{
"data": {
"label_matchers": [
{
"key": "service",
"value": "checkout"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.