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

# Remove contacts from list

> Remove existing Brevo contacts from a contact list.

`removeContactsFromList` removes memberships without deleting contacts.

## Example

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

export default automation("Remove launch contacts", () => {
  onHttpRequest({ scope: "automation" })

  removeContactsFromList({
    list: "2026 Launch",
    emails: ["ada@example.com", "grace@example.com"],
  })
})
```

`list: string | number` and a non-empty `emails` array are required. `account`
selects the Brevo binding.

Returns `{ success: string[]; failure: string[] }`. Contacts remain in the
Brevo account and in any other lists; inspect `failure` for addresses Brevo did
not remove.
