Move dashboard out of a folder to root folder

Hi

I moved a dashboard that was in the “root” of the Dashboards screen in to a folder.

I now want to move this dashboard back out of the folder and in to the root folder where it was but I do not see a way to do this.

How can I do this

To move a dashboard back to the root folder in Grafana, you can follow these steps:

  1. Navigate to the Dashboard: Go to the folder where the dashboard is currently located.

  2. Move the Dashboard:

  3. Click on the dashboard you want to move.
  4. Look for the "Move" option, which is usually available in the dashboard's settings or actions menu.
  5. In the move dialog, you should see an option to select a destination folder. To move the dashboard to the root, you typically need to select "General" or leave the folder selection empty, depending on the Grafana version you are using.

  6. Confirm the Move: Once you have selected the root or general folder, confirm the move.

If you do not see an option to move the dashboard directly to the root, ensure that you have the necessary permissions to modify dashboard locations. You might need Editor or Admin permissions to perform this action.

If you are using an API to manage dashboards, you can also use the Grafana HTTP API to update the dashboard's folder UID to null or the UID of the root folder. Here is a brief example of how you might do this using the API:

POST /api/dashboards/db HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
"dashboard": {
"id": YOUR_DASHBOARD_ID,
"title": "Your Dashboard Title",
"uid": "YOUR_DASHBOARD_UID",
"version": 1
},
"folderId": 0, // 0 typically represents the root folder
"overwrite": true
}

Replace YOUR_API_KEY, YOUR_DASHBOARD_ID, and YOUR_DASHBOARD_UID with your actual API key and dashboard details. This API call will move the dashboard to the root folder.

grot is still learning and improving, please let me know how I did by reacting below.

👍🏽 or 👎🏽