Update alert rule
update_alert_ruleUpdate an existing alert rule by ID, adjusting its condition, targets, channels, and severity. Requires the full configuration even for partial changes.
Instructions
Update an alert rule by rule id. The API replaces the whole rule configuration, so name and condition_type are required even when updating a single field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name chosen for the alert rule. | |
| top_n | No | ||
| enabled | No | ||
| rule_id | Yes | Identifier of the alert rule to operate on. | |
| channels | No | ||
| severity | No | Alert severity. When omitted, the server chooses a condition-specific default. | |
| change_pct | No | ||
| project_id | No | Identifier of the bisibility project to operate on; list_projects returns valid project ids. | |
| target_ids | No | ||
| target_type | No | ||
| serp_feature | No | ||
| recipient_ids | No | ||
| condition_type | Yes | Condition that determines when the alert rule fires. | |
| drop_positions | No | ||
| idempotency_key | No | ||
| competitor_domain | No | ||
| threshold_position | No |