Only just thought to check dev tools on my browser when deleting multiple containers, and yep - there is a way to pass the data so that it deletes multiple. curl -X DELETE -H 'Content-Tpe: application/json' -H "ph-auth-token: <token>" -d "{'ids': [1234, 1235, 1236, 1237]}" (might need to slightly play around with this curl statement, as i haven't tried it. And in Python it would look something like this. data = {"ids": [1234, 12345, 1236, 1237]}
requests.delete("https://<soar_base_url_here>/container/"), headers={"ph-auth-token": "<some_token_here>"}, data=json.dumps(data), verify=False) Enjoy!
... View more