> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Delete dashboard

> Deletes a dashboard by stable UID and returns `null`.

`axiom.deleteDashboard` deletes a dashboard by stable UID and returns `null`. Referenced datasets, monitors, queries, and annotations remain.

```ts automations/axiom-delete-dashboard.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { axiom } from "automate.ax/axiom"

export default automation("Delete dashboard", () => {
  onHttpRequest({ scope: "automation" })
  axiom.deleteDashboard({ dashboardUid: "operations" })
})
```

<Warning>
  This operation changes or deletes provider data. Confirm the target before
  deployment.
</Warning>

## Input

`dashboardUid` is required and selects the dashboard by its stable UID.

## Output

Returns `null` after Axiom confirms deletion. Datasets and other resources referenced by the dashboard remain.

## Permission and failures

The API token needs the organization-level `dashboards|delete` capability. Axiom returns `404` when the dashboard does not exist or the token cannot access it. This mutation is not retried automatically after an ambiguous provider response.
