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.
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
204
Indicates a successful call.
Authorization information is missing or invalid.
You don't have the required privileges for this case.