Skip to content

Delete many incidents by incident IDs

DELETE
/v1/incidents
curl --request DELETE \
--url https://api.adversarial.com/api/v1/incidents \
--header 'Content-Type: application/json' \
--data '{ "ids": [] }'

Note that all incidents are soft-deleted

Media typeapplication/json

The incidents to delete, by ID.

object
ids
Array<string>
default:
Example
INC-00001

Incidents deleted successfully

Media typeapplication/json

How many incidents were deleted, and which requested IDs did not match an existing incident.

object
deleted_count
integer
0
not_found
Array<string>
default:
Example
{
"deleted_count": 0,
"not_found": []
}