> ## 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 monitor

> Deletes one monitor and returns `null`.

`axiom.deleteMonitor` deletes one monitor and returns `null`. This stops evaluations but does not delete datasets or standalone notifiers.

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

export default automation("Delete monitor", () => {
  onHttpRequest({ scope: "automation" })
  axiom.deleteMonitor({ monitorId: "monitor-id" })
})
```

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

## Input

`monitorId` is required and selects the monitor to delete.

## Output

Returns `null` after Axiom confirms deletion.

## Permission and failures

The API token needs the organization-level `monitors|delete` capability. Axiom returns an error when the monitor is missing or cannot be deleted. This mutation is not retried automatically after an ambiguous provider response.
