Delete a case attachment
- Base URL
-
https://{kibana_url}
- DELETE /api/cases/{caseId}/attachments/{attachmentId}
- DELETE /s/{space_id}/api/cases/{caseId}/attachments/{attachmentId}
Deletes a single attachment from a case. If it's a file, the file is also deleted. If it's an attack (security.attack), the alerts it added are also removed from the case, unless they're attached separately or by another attack. 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 case.
Responses
204
Indicates a successful call.