30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Delete Campaign

mailerpress/delete-campaign deletes a single campaign record, its send batches and its stored HTML content. It requires confirm_name matching the stored name.

The batches are the loss people do not anticipate.

Before you run it

The campaign, its send batches and its stored content all go, permanently. The batches are the part worth pausing on: they carry the engagement statistics for every send of that campaign, and deleting them removes the record of how it performed. Moving the campaign to trash through mailerpress/update-campaign-status takes it out of the way reversibly.

At a glance

Abilitymailerpress/delete-campaign
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Campaigns & Sending
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyDestructive and irreversible — deletes the campaign, its send batches and its stored content. Requires confirm_name.
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

A send batch holds the engagement statistics for that send — opens, clicks, unsubscribes, and the per-recipient log. Deleting the campaign deletes them, which removes the historical record of how it performed.

On a site that reports on campaign performance over time, that is a gap in the history rather than a tidy-up.

The trash status is the alternative: mailerpress/update-campaign-status with trash takes the campaign out of the working list and keeps everything.

The name guard is checked against the stored name, so a stale name from an earlier read fails rather than deleting something that was renamed since.

Idempotent in the sense that deleting an already-deleted campaign is a no-op.

Input

NameTypeRequiredWhat it is
idintegerYesThe campaign ID.
confirm_namestringYesMust exactly match the campaign’s stored name.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
deletedbooleanWhether the campaign was removed.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Delete that old campaign permanently.

It resolves to one call:

{
  "ability": "mailerpress/delete-campaign",
  "parameters": {
    "id": 44,
    "confirm_name": "September product update",
    "confirm": true
  }
}

Worth knowing

  • The send batches and their statistics go too.
  • That leaves a gap in performance history, not just a shorter list.
  • Trashing keeps everything and takes it out of the way.
  • The name is checked live, catching renames.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading