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": "perspiciatis",
"description": "dolorem",
"measurement_id": 9,
"calculation": "ipsam",
"comparator": "illo",
"comparison": "molestias",
"threshold_value": 145406652.5948,
"calculation_minutes": 14,
"alert_on_occurrences": 7,
"webhook_url": "eius",
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"libero"
]
}