Automation

Update fields on an alert rule (enabled, threshold, channels, etc)

Update fields on an alert rule (enabled, threshold, channels, etc). Omit fields you do not want to change. Scoped to the current org.

post/api/v1/update_alert_rule

Request

  • Base URL: https://api.pymaia.com
  • URL: https://api.pymaia.com/api/v1/update_alert_rule
  • Auth: HTTP bearer

Request body

rule_idstring required
namestring
descriptionstring
thresholdnumber
condition'gt' | 'gte' | 'lt' | 'lte' | '%change_up' | '%change_down'
comparison_period'day' | 'week' | 'month'
enabledboolean
channelsstring[]

Response

Tool executed successfully

okboolean
resultunknown
duration_msnumber

Changes

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