Sign in

Update alert grouping setting

documented

Update an existing alert grouping setting.

PUT /alert_grouping_settings/{id}Alertsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.pagerduty.com/alert_grouping_settings/{{$id}}" \
  -X PUT \
  -H "Authorization: Token token={{PAGERDUTY_API_KEY}}" \
  -H "Accept: application/vnd.pagerduty+json;version=2" \
  -H "Content-Type: application/json" \
  -d '{"alert_grouping_setting": {"type": "{{$type}}", "name": "{{$name}}", "services": ["{{$service_id}}"], "config": {"aggregate": "{{$aggregate}}", "fields": ["{{$field1}}", "{{$field2}}"], "iag_fields": ["{{$iag_field}}"], "time_window": {{$time_window}}, "timeout": {{$timeout}}}}}'