How to delete existing file provisioned dashboards from Grafana without having to manually delete in UI but using command line?

  • What Grafana version and what operating system are you using?
    Using Grafana 9.x

  • What are you trying to achieve?
    I have added few grafana dashboards using file provisioning. And I want to disable few of the dashboards from command line and not from UI.

  • How are you trying to achieve it?
    I moved the json files to a different folder and marked it as .disable. I restarted the grafana server.

  • What happened?
    The grafana dashboards still show on the UI.

  • What did you expect to happen?
    I expected it to be deleted since I moved it into the .disable file toa different folder.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?