Update escalation policy rule
documentedUpdate a rule under an escalation policy.
PUT /escalation_policies/{escalation_policy_id}/rules/{rule_id}Escalation Policiesno implementation yet0 runsNo 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/escalation_policies/{{$escalation_policy_id}}/Rules/{{$rule_id}}" \
-X PUT \
-H "Accept: application/vnd.pagerduty+json;version=2" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"escalation_rule": {"escalation_delay_in_minutes": {{$delay_minutes}}, "targets": [{"id": "{{$target_id}}", "type": "user_reference"}]}}'