ignore_alert
Ignore an alert with a required scope. ALWAYS ask the user which scope they want before calling: current_page (only this URL), all_pages (this issue type across the whole site), route_pattern (pages matching a glob like /blog/*), or target_pattern (every URL the issue is ABOUT that matches a glob - broken links, images - wherever they are linked from). Creates a persistent ignore rule so future crawls keep the issue suppressed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Ignore scope. Ask the user; do not guess. | |
| alertId | Yes | Path parameter alertId. | |
| routePattern | No | Glob over the PAGE the issue was found on, matched against its path or its whole URL, where * matches anything: /blog/* or https://docs.example.com/*. REQUIRED when scope=route_pattern, forbidden otherwise. | |
| targetPattern | No | Glob over the whole URL the alert is ABOUT, host included, where * matches anything: */auth/*, *example.com/* or https://example.com/assets/*. REQUIRED when scope=target_pattern, forbidden otherwise. Only alerts that name a URL can be ignored this way. |