Update heartbeat (partial)
documentedPartial update of a heartbeat.
PATCH /v2/heartbeats/{heartbeatName}Heartbeatsno 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.opsgenie.com/v2/heartbeats/{{$heartbeatName}}" \
-X PATCH \
-H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"description": "{{$description}}", "interval": {{$interval}}, "intervalUnit": "{{$intervalUnit}}", "enabled": {{$enabled}}, "ownerTeam": {"id": "{{$ownerTeam_id}}", "name": "{{$ownerTeam_name}}"}, "alertMessage": "{{$alertMessage}}", "alertTags": {{$alertTags}}, "alertPriority": "{{$alertPriority}}"}'