Delete cases
Base URL
https://{kibana_url}
Auth
You must have read or all privileges and the delete sub-feature privilege 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.
Expand all
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.
ids
string []
required
The cases that you want to removed. All non-ASCII characters must be URL encoded.
Example:
["d4e7abb0-b462-11ec-9a8d-698504725a43"]
Cross-site request forgery protection
204
Indicates a successful call.
401
Authorization information is missing or invalid.
application/json
Thank you for your feedback.
Base URL
https://{kibana_url}
Examples
Request
Console
1 / 2 languages
‹
›
1
DELETE kbn:/api/cases?ids=d4e7abb0-b462-11ec-9a8d-698504725a43
Generated from the API spec
1
2
3
curl -X DELETE "${KIBANA_URL}/api/cases?ids=d4e7abb0-b462-11ec-9a8d-698504725a43" \
-H "kbn-xsrf: true" \
-H "Authorization: ApiKey ${API_KEY}"
Generated from the API spec
Response
1
2
3
4
5
{
"error": "Unauthorized",
"message": "string",
"statusCode": 401
}
Generated from the API spec