Delete all case comments and alerts
Spaces method and path for this operation:
delete /s/{space_id}/api/cases/{caseId}/comments
Refer to Spaces for more information.
Deletes all comments and alerts from a case. You must have all
privileges 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/{caseId}/comments
curl \
--request DELETE 'https://localhost:5601/api/cases/9c235210-6834-11ea-a78c-6ffb38a34414/comments' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: string"