Remove AdGuard Home filter list
adguard_remove_filterRemoves a single AdGuard Home filter list by exact URL, from blocklists or allowlists, so you can drop a list you no longer need.
Instructions
Remove one filter list from AdGuard Home by its exact URL.
Reads filtering/status; only when the URL is on the chosen list sends
POST /control/filtering/remove_url {url, whitelist} (AdGuard answers
OK even for an unknown URL, so the check runs first). AdGuard drops the
list from its config and renames the downloaded file to .old. Then
re-reads filtering/status.
Use when: dropping a blocklist or allowlist.
Not for: pausing a list you may want back — use
adguard_set_filter_enabled; adding one — use adguard_add_filter.
Returns: {"removed": true, "addon_slug", "list", "removed_filter", "filters": [{name, url, enabled, rules_count}], "total_rules"} for the
list kind after the change; total_rules sums its enabled lists.
Errors: invalid_url (no I/O), not_found (with found_in when the
URL is on the other list kind, nothing sent), HTTP <status> with
AdGuard's detail, and the add-on lookup errors of adguard_get_config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Exact URL of the list as shown by `adguard_get_config`, e.g. `https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt` (http:// or https://). | |
| allowlist | No | True removes it from the allowlists (AdGuard `whitelist`); false (default) from the blocklists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||