Delete cases
Spaces method and path for this operation:
delete /s/{space_id}/api/cases
Refer to Spaces for more information.
You must have read or all privileges and the delete sub-feature privilege for the Cases feature in the Management, Observability, or Security section of the Kibana feature privileges, depending on the owner of the cases you're deleting.
DELETE /api/cases
curl \ --request DELETE 'https://localhost:5601/api/cases?ids=d4e7abb0-b462-11ec-9a8d-698504725a43' \ --header "Authorization: $API_KEY" \ --header "kbn-xsrf: string"