Delete Redirects

Some redirects outlive their purpose — a campaign ends, a page comes back, a rule was a mistake.

redirects/delete-redirects permanently removes one or more redirects by id. Redirection has no trash for redirects, so the delete is final and asks for confirmation first.

At a glance

Abilityredirects/delete-redirects
ToolsetRedirection — toolset/redirection
GroupRedirection
RequiresRedirection, active on the site
Capabilitymanage_options
SafetyDestructive — deletes permanently. Requires confirm: true
RepeatableNot idempotent — an id already deleted is reported as missing
Ships inAcrossAI Abilities Manager 0.0.43 and later

How it works

Pass an array of redirect ids and confirm: true. Each id is deleted through its own model call, so the response reports exactly which were removed and which were already gone.

To merely turn a redirect off without losing it, use Update Redirect with enabled: false instead.

Input

NameTypeRequiredWhat it is
idsarrayYesRedirect ids to delete.
confirmbooleanYesMust be true. Deletion is permanent.

What comes back

NameTypeWhat it is
deletedarrayThe ids that were removed.
missingarrayThe ids that did not exist.
deleted_countintegerHow many were removed.
successbooleanWhether the call completed.
messagestringA one-line summary suitable for showing a human.

Example

Ask your assistant:

Delete redirects 10 and 11.

It resolves to one call, with the confirmation flag:

{
  "ability": "redirects/delete-redirects",
  "parameters": {
    "ids": [10, 11],
    "confirm": true
  }
}

Worth knowing

  • Irreversible — Redirection does not trash redirects, so a delete cannot be undone.
  • It will not run without confirm: true, which guards against an accidental bulk delete.
  • To disable rather than delete, use Update Redirect with enabled: false.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading