Close incident
documentedClose an incident.
POST /v1/incidents/{identifier}/closeIncidentsno 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/v1/incidents/{{$identifier}}/close?identifierType={{identifierType}}" \
-X POST \
-H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{\"note\": \"{{$note}}\"}"