post https://api.bigpanda.io/resources/v2.0/environments//batch-resolve/alerts
Sets the alert status to "OK" for a list of alerts
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the User API Key type of Authorization token.
Alert IDs
Alert IDs can be found using the Incidents V2 API. Use the Search Incidents or Retrieve Incidents by ID call to retrive a list of alert IDs from within an incident.
Sample Calls
curl --request POST \
--url https://api.bigpanda.io/resources/v2.0/environments/{environment_id}/batch-resolve/alerts \
--header 'Authorization: Bearer <User API Key>' \
--header 'Content-Type: application/json' \
--data '{
"ids": ["5d09d221aebaec1c43ccd448", "5cff623a21169351a82cb5e2"],
"comments": "<resolving old alerts>"
}'
curl --request POST \
--url https://eu-api.bigpanda.io/resources/v2.0/environments/{environment_id}/batch-resolve/alerts \
--header 'Authorization: Bearer <User API Key>' \
--header 'Content-Type: application/json' \
--data '{
"ids": ["5d09d221aebaec1c43ccd448", "5cff623a21169351a82cb5e2"],
"comments": "<resolving old alerts>"
}'