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
| Ability | redirects/delete-redirects |
| Toolset | Redirection — toolset/redirection |
| Group | Redirection |
| Requires | Redirection, active on the site |
| Capability | manage_options |
| Safety | Destructive — deletes permanently. Requires confirm: true |
| Repeatable | Not idempotent — an id already deleted is reported as missing |
| Ships in | AcrossAI 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
| Name | Type | Required | What it is |
|---|---|---|---|
ids | array | Yes | Redirect ids to delete. |
confirm | boolean | Yes | Must be true. Deletion is permanent. |
What comes back
| Name | Type | What it is |
|---|---|---|
deleted | array | The ids that were removed. |
missing | array | The ids that did not exist. |
deleted_count | integer | How many were removed. |
success | boolean | Whether the call completed. |
message | string | A 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
- Update Redirect — disable instead of delete
- List Redirects — find the ids to remove
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category