Add team to alert
documentedAdd a team as a responder to the alert.
POST /v2/alerts/{identifier}/teamsAlertsno 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/alerts/{{$identifier}}/teams?identifierType={{identifierType}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
-d '{"team": {"id": "{{$team_id}}"}, "user": "{{$user}}", "source": "{{$source}}", "note": "{{$note}}"}'