Skip to content

Mail

mail_audience_delete

Delete an audience and all its contacts (cascade)

Tool

mail_audience_delete

Delete an audience and all its contacts (cascade)

Delete an audience and all its contacts (cascade)

Behavior

HTTP
DELETE /mail/audiences/:id

Arguments

NameTypeRequiredDescription
idstringAudience id to delete

Response

FieldTypeAlwaysDescription
deletedboolean

Try it

Delete an audience and all its contacts (cascade).

When to use

Delete an audience and all its contacts (cascade)

Example

Ask your agent something like this:

Delete an audience and all its contacts (cascade).

The agent will invoke mail_audience_delete with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect