Not actual
The problem was in cURL
When you disable webhook from hastic-grafana-app, it sends boolean value to the server
Although, when you disable webhook using curl, it is sent as 'false' string
curl -X PATCH http://localhost:8000/analyticUnits/alert --data 'analyticUnitId=0usg98YFqQBlGRU2&alert=false'
Thus, webhook is not disabled
P.S. Couldn't find a way to send it as a boolean unfortunately
Not actual The problem was in cURL When you disable webhook from
hastic-grafana-app
, it sends boolean value to the server Although, when you disable webhook usingcurl
, it is sent as'false'
stringcurl -X PATCH http://localhost:8000/analyticUnits/alert --data 'analyticUnitId=0usg98YFqQBlGRU2&alert=false'
Thus, webhook is not disabledP.S. Couldn't find a way to send it as a boolean unfortunately