Delete list item

edit

Deletes list items.

The Kibana 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 Console.

Request URL

edit

DELETE <kibana host>:<port>/api/lists/items

URL query parameters

edit

The URL query must include one of the following:

  • id - DELETE /api/lists/items?id=<id>
  • list_id and value - DELETE /api/lists/items?list_id=<list_id>&value=<value>

Example request

edit

Deletes the list item with an id of internal-ip-london:

DELETE api/lists/items?id=internal-ip-london

Deletes list items from an ip container using CIDR notation:

DELETE api/lists/items?list_id=internal-ip-excludes&value=127.0.0.0/30

Response code

edit
200
Indicates a successful call.