0

I am trying to delete grafana dashboard using curl command, but it is not deleting, the below curl command I tried to delete the dashboard,

curl -XPOST -d '{"name":"mydashboard"}' http://localhost:3000/api/dashboards/db -u admin:admin -H "Content-Type: application/json"

1 Answer 1

1

Run the below command,

curl -k -X DELETE -u admin:admin http://localhost:3000/api/dashboards/db/dashboardslug_name

where dashboardslug_name is the name while save the dashboard and not the dashboard title displaying in the web url.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.