Update an alert rule
PUT /alerts/rules/{id}
PUT
/alerts/rules/{id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
integer format: int64
Request Body required
Section titled “Request Body required ”object
id
integer format: int64
name
string
scope
System, app, or webhook
string
target
App slug or ”*”.
string
metric
string
operator
string
threshold
number
duration_seconds
integer
webhook_ids
Array<integer>
enabled
boolean
Responses
Section titled “ Responses ”Updated.
object
id
integer format: int64
name
string
scope
System, app, or webhook
string
target
App slug or ”*”.
string
metric
string
operator
string
threshold
number
duration_seconds
integer
webhook_ids
Array<integer>
enabled
boolean