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

# Cancel scheduled email

> Cancel a scheduled Brevo email or batch before processing.

`brevo.cancelScheduledEmail` cancel a scheduled Brevo email or batch before processing.

## Example

```ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { brevo } from "automate.ax/brevo"

export default automation("Cancel scheduled email", () => {
  onDashboardRun({ title: "Cancel scheduled email" })
  brevo.cancelScheduledEmail({
    identifier: "44a78691-b608-4c6a-9c88-7599024d2c76",
  })
})
```

## Inputs

`identifier` is the batch UUID or provider message ID returned by a scheduled send. The second argument can select `{ account }`.

## Output

Returns nothing. Brevo rejects cancellation after processing has begun or completed.
