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": "quis",
"description": "aliquam",
"measurement_id": 3,
"calculation": "adipisci",
"comparator": "aut",
"comparison": "sunt",
"threshold_value": 26396.6,
"calculation_minutes": 11,
"alert_on_occurrences": 6,
"webhook_url": "eligendi",
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"vel"
]
}