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

Start free trial

Delete an All-in-One Archive

all-in-one/delete-backup removes one archive from this server and reports how much disk space that recovered.

All-in-One archives are large and they accumulate, so this is an ability people reach for under disk pressure — which is exactly when it is easiest to delete the wrong one.

Before you run it

This cannot be undone, and what it destroys is a recovery point. The call refuses without confirm: true. Copies held on remote storage are not removed — delete those in the storage provider itself if reclaiming that space was the point.

At a glance

Abilityall-in-one/delete-backup
ToolsetAll-in-One WP Migration — toolset/all-in-one-wp-migration
GroupAll-in-One WP Migration › Archives
RequiresAll-in-One WP Migration, active on the site
Capabilitymanage_options
SafetyDestructive — deletes stored values, and refuses to run without confirm: true
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The confirmation gate runs before any file is touched, so a refused call leaves the archive intact.

Check the labels first. On this plugin more than most, the archive worth keeping is rarely the newest one — it is the one taken deliberately before a risky change.

The response reports the files removed, the bytes freed and how many archives remain, so the cost of the deletion sits next to its benefit.

Input

NameTypeRequiredWhat it is
idstringYesArchive identifier, exactly as returned by all-in-one/list-backups.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
backup_idstringThe archive that was deleted.
files_removedarrayThe files that were removed.
bytes_freedintegerHow much disk space that recovered.
remainingintegerHow many archives are left on this server.
notestringAnything else worth knowing.
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 the unlabelled archive from July — we’re out of disk space.

It resolves to one call:

{
  "ability": "all-in-one/delete-backup",
  "parameters": {
    "id": "acrossai-co-20260714-030000-ghi789.wpress",
    "confirm": true
  }
}

Worth knowing

  • Not idempotent, and not reversible.
  • Remote copies survive. If the goal was removing the data rather than freeing disk, this did not achieve it.
  • Read the labels before choosing. all-in-one/list-backups shows them.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading