Delete all case attachments

Base URL
https://{kibana_url}
Auth

Deletes all attachments from a case. Attached files are also deleted. 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_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

caseId string required

The identifier for the case. To retrieve case IDs, use the search cases (_find) API. All non-ASCII characters must be URL encoded.

Example: 9c235210-6834-11ea-a78c-6ffb38a34414

Header parameters

kbn-xsrf string required

Cross-site request forgery protection

Responses

204

Indicates a successful call.

Authorization information is missing or invalid.

application/json
error string
message string
statusCode integer

You don't have the required privileges for this case.

application/json
error string
message string
statusCode integer

The case doesn't exist or has no attachments.

application/json
error string
message string
statusCode integer
Base URL
https://{kibana_url}