cURL
curl --request POST \ --url http://base.url.com/groups/bulkDelete \ --header 'Content-Type: application/json' \ --header 'x-phishy-api-key: <api-key>' \ --data ' { "targetIds": [ 123 ] } '
{ "error": 123, "message": "<string>" }
Deletes multiple groups based on provided identifiers
List of group IDs to delete
Array of target IDs
Unique identifier for a target
Groups successfully deleted