Hi guys
REF used: Admin HTTP API | Grafana documentation and Alerting HTTP API | Grafana documentation
grafana vers 4.1.2 on linux docker
So: http API request seems to work for some feature but not for others.
I can
. get config (GET /api/admin/settings)
- get alert details (GET /api/alerts/)
- pause an alert (POST /api/alerts/:id/pause)
ex: working
curl --http1.1 -H “Content-type: application/json” -H “Authorization: Bearer myapiauthentification” -X GET http://l4docker1701:3000/api/alerts/8
But can NOT:
- pause all alert (
DELETE /api/admin/pause-all-alerts)
curl --http1.1 -H “Content-type: application/json” -H “Authorization: Bearer myapiauthentification” -X DELETE http://l4docker1701:3000/api/admin/pause-all-alerts
=> {“message”:“Not found”}
Can someone please help me ?