Delete dashboards
This page describes the various ways you can delete a dashboard in Observe by Snowflake.
You can delete a dashboard in any of the following ways:
- Use the Observe by Snowflake UI. See Delete a dashboard using the UI.
- Call
DELETE /v1/dashboards/using the REST API. See Delete a dashboard. - Use observe_dashboard in Terraform. See Delete a dashboard using Terraform.
Delete a dashboard using the UI
To delete a dashboard from the Observe by Snowflake UI, click the Overflow icon () and select Delete. You can do this from the dashboard, or anywhere where this icon appears for the dashboard, such as from the Dashboard Explorer:

Delete a dashboard using Terraform
In Terraform you delete a dashboard by removing it from state and applying the change.
Suppose we have the following configuration:
terraform {
required_providers {
observe = {
source = "terraform.observeinc.com/observeinc/observe"
}
}
}
provider "observe" {
customer = "123456789012"
api_token = var.observe_api_token
domain = "observeinc.com"
}
resource "observe_dashboard" "my_dashboard" {
workspace = data.observe_workspace.default.oid
name = "My Dashboard"
stages = jsonencode([])
layout = jsonencode({})
}Perform the following steps to delete my_dashboard:
- Remove the
resource "observe_dashboard" "my_dashboard"block from your.tffile. - Run
terraform planto preview howobserve_dashboard.my_dashboardwill be destroyed. - Run
terraform applyto delete the dashboard.
You can also run the following command to target the dashboard without changing the configuration:
terraform destroy -target=observe_dashboard.my_dashboardHowever, the dashboard is recreated the next time you run terraform apply if the dashboard is not removed from the configuration.
Lastly, you can run the following command to have Terraform forgot about the dashboard, but leave the dashboard in Observe by Snowflake:
terraform state rm observe_dashboard.my_dashboardThis command removes the resource "observe_dashboard" "my_dashboard" block from your .tf file.
Updated 38 minutes ago