Delete all comments

edit

Deletes all comments from the specified case.

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

edit

DELETE <kibana host>:<port>/api/cases/<case ID>/comments

URL parts

edit

The URL must include the case ID of the comment’s associated case (call Find cases to retrieve case IDs).

Example request

edit

Deletes all comments from case ID 9c235210-6834-11ea-a78c-6ffb38a34414:

DELETE api/cases/a18b38a0-71b0-11ea-a0b2-c51ea50a58e2/comments

Response code

edit
204
Indicates a successful call.