cases
Delete all case comments and alerts
Spaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/cases/{caseId}/comments</span></div>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
Path parameters
caseIdstring required
Example:9c235210-6834-11ea-a78c-6ffb38a34414
The identifier for the case. To retrieve case IDs, use the search cases (_find) API. All non-ASCII characters must be URL encoded.
Headers
kbn-xsrfstring required
Cross-site request forgery protection
Response
Indicates a successful call.