v1
latestOpenAPI 3.1.02026-07-2687120159.0 KBUpdate an alert rule
Update an alert rule. Only the fields included in the request body are changed.
patch/v1/alert-rules/{rule_id}
Path parameters
rule_idstring required
Example:ar_0Kx4mNpQ8rWvYb2dFgHjLs
The rule_id must be a prefixed ID (e.g. ar_0Kx4mNpQ8rWvYb2dFgHjLs).
Request body
Example request
{
"threshold_value": 2000,
"enabled": false
}Response
Alert rule updated successfully.
Example response
{
"id": "ar_0Kx4mNpQ8rWvYb2dFgHjLs"
}