You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Delete list itemedit
Deletes list items.
Request URLedit
DELETE <kibana host>:<port>/api/lists/items
URL query parametersedit
The URL query must include one of the following:
-
id
-DELETE /api/lists/items?id=<id>
-
list_id
andvalue
-DELETE /api/lists/items?list_id=<list_id>&value=<value>
Example requestedit
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 codeedit
-
200
- Indicates a successful call.