I’ve tried using the following Curl command while entering my Bearer admin API key and the web dashboard URL I want deleted.
curl -X DELETE -H "Authorization: Bearer eyJrIXXXXXXX" http://grafana.staged-by-discourse.com/api/dashboards/db/your-dashboard-slug
svetb
July 2, 2021, 6:03pm
2
You need to follow the URL format in the docs: Dashboard HTTP API | Grafana Labs .
Assuming that you’re using a reasonably recent version of Grafana, dashboard referencing via slugs is not supported - you need to use the dashboard UID.
1 Like
Thanks so much! That worked perfectly.
1 Like
system
Closed
July 2, 2022, 3:59pm
4
This topic was automatically closed after 365 days. New replies are no longer allowed.