public-api
public-alerts

Update alert rule

Update an alert rule.

SDK Usage:

from anomalyarmor import Client

client = Client()
rule = client.alerts.update_rule(
    rule_id="uuid",
    name="Updated Name",
    is_active=False
)
put/api/v1/sdk/alerts/rules/{rule_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/sdk/alerts/rules/{rule_id}
  • Auth: none declared

Path parameters

rule_idstring required

Headers

Authorizationstring

Request body

namestring nullable

Rule name

descriptionstring nullable

Rule description

is_activeboolean nullable

Whether the rule is active

event_typesstring[] nullable

Event types to alert on

severitiesstring[] nullable

Severity levels

tag_filter_modestring nullable

Tag filter mode: any or all

tag_filter_tagsstring[] nullable

Tags to filter by

is_notify_code_authorsboolean nullable

Whether to notify code authors when this rule triggers

code_author_min_confidencenumber nullable

Minimum git blame confidence to notify (0.0-1.0)

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.