A newer version is available. For the latest information, see the
current release documentation.
Delete case
editDelete case
editDeletes the specified cases and all associated comments.
Console supports only Elasticsearch APIs. Console doesn’t allow interactions with Kibana APIs. You must use curl
or another HTTP tool instead. For more information, refer to Run Elasticsearch API requests.
Request URL
editDELETE <kibana host>:<port>/api/cases?ids=["<case ID1>","<case ID2>"]
URL parts
editThe URL must include the case IDs of the cases you are deleting. Call Find cases to retrieve case IDs.
All non-ascii characters must be encoded.
Example request
editDeletes cases with these IDs:
-
2e3a54f0-6754-11ea-a1c2-e3a8bc9f7aca
-
40b9a450-66a0-11ea-be1b-2bd3fef48984
DELETE api/cases?ids=%5B%222e3a54f0-6754-11ea-a1c2-e3a8bc9f7aca%22%2C%2240b9a450-66a0-11ea-be1b-2bd3fef48984%22%5D
Response code
edit-
204
- Indicates a successful call.