Sign in

Close alert

documented

Close an alert (signal completion).

POST /v2/alerts/{identifier}/closeAlertsno 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.opsgenie.com/v2/alerts/{{$identifier}}/close?identifierType={{$identifierType}}" \
  -X POST \
  -H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"user": "{{$user}}", "source": "{{$source}}", "note": "{{$note}}"}'