> ## 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 email logs

> Delete Brevo transactional email logs by recipient or message ID.

`brevo.deleteEmailLogs` delete Brevo transactional email logs by recipient or message ID.

## Example

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

export default automation("Delete email logs", () => {
  onDashboardRun({ title: "Delete email logs" })
  brevo.deleteEmailLogs({
    identifier: "person@example.com",
    startDate: "2026-08-01",
    endDate: "2026-08-07",
  })
})
```

## Inputs

`identifier` is a recipient email or provider message ID. Optional `startDate` and `endDate` must be supplied together. The second argument can select `{ account }`.

## Output

Returns nothing. This permanently removes matching log records and does not recall delivered messages.
