Skip to content

Delete many RSK risks by risk IDs

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

All risks are soft-deleted.

Media typeapplication/json

The risks to delete, by ID.

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

Risks deleted successfully

Media typeapplication/json

How many risks were deleted, and which requested IDs did not match an existing risk.

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