Api\AlertRuleController
api/alert-rules/{id} PATCH Update the specified user alert rule.
put/api/alert-rules/{id}
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"name": "aut",
"description": "ut",
"measurement_id": 7,
"calculation": "est",
"comparator": "impedit",
"comparison": "id",
"threshold_value": 145364.6,
"calculation_minutes": 7,
"alert_on_occurrences": 3,
"alert_via_email": true,
"webhook_url": "unde",
"active": true,
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"sapiente"
]
}