---
title: "Delete a value list item"
method: DELETE
path: "/api/lists/items"
tags: ["Security Lists API"]
---

# Delete a value list item

`DELETE /api/lists/items`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/lists/items</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Delete a value list item using its `id`, or its `list_id` and `value` fields.

## Query parameters

- `id` string, nonempty — Value list item's identifier.
- `list_id` string, nonempty — Value list's identifier.
- `value` string
- `refresh` 'true' | 'false' | 'wait_for'

## Response `200`

Successful response

- union
  - SecurityListsAPIListItem
    - `_version` string — The version id, normally returned by the API when the document is retrieved. Use it ensure updates are done against the latest version.
    - `@timestamp` string, date-time
    - `created_at` string, date-time, required — Autogenerated date of object creation.
    - `created_by` string, required — Autogenerated value - user that created object.
    - `id` string, nonempty, required — Value list item's identifier.
    - `list_id` string, nonempty, required — Value list's identifier.
    - `meta` SecurityListsAPIListItemMetadata — Placeholder for metadata about the value list item.
    - `tie_breaker_id` string, required — Field used in search to ensure all containers are sorted and returned correctly.
    - `type` 'binary' | 'boolean' | 'byte' | 'date' | 'date_nanos' | 'date_range' | 'double' | 'double_range' | 'float' | 'float_range' | 'geo_point' | 'geo_shape' | 'half_float' | 'integer' | 'integer_range' | 'ip' | 'ip_range' | 'keyword' | 'long' | 'long_range' | 'shape' | 'short' | 'text', required — Specifies the Elasticsearch data type of excludes the list container holds. Some common examples: - `keyword`: Many ECS fields are Elasticsearch keywords - `ip`: IP addresses - `ip_range`: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
    - `updated_at` string, date-time, required — Autogenerated date of last object update.
    - `updated_by` string, required — Autogenerated value - user that last updated object.
    - `value` string, nonempty, required — The value used to evaluate exceptions.
  - SecurityListsAPIListItem[]
    - `_version` string — The version id, normally returned by the API when the document is retrieved. Use it ensure updates are done against the latest version.
    - `@timestamp` string, date-time
    - `created_at` string, date-time, required — Autogenerated date of object creation.
    - `created_by` string, required — Autogenerated value - user that created object.
    - `id` string, nonempty, required — Value list item's identifier.
    - `list_id` string, nonempty, required — Value list's identifier.
    - `meta` SecurityListsAPIListItemMetadata — Placeholder for metadata about the value list item.
    - `tie_breaker_id` string, required — Field used in search to ensure all containers are sorted and returned correctly.
    - `type` 'binary' | 'boolean' | 'byte' | 'date' | 'date_nanos' | 'date_range' | 'double' | 'double_range' | 'float' | 'float_range' | 'geo_point' | 'geo_shape' | 'half_float' | 'integer' | 'integer_range' | 'ip' | 'ip_range' | 'keyword' | 'long' | 'long_range' | 'shape' | 'short' | 'text', required — Specifies the Elasticsearch data type of excludes the list container holds. Some common examples: - `keyword`: Many ECS fields are Elasticsearch keywords - `ip`: IP addresses - `ip_range`: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
    - `updated_at` string, date-time, required — Autogenerated date of last object update.
    - `updated_by` string, required — Autogenerated value - user that last updated object.
    - `value` string, nonempty, required — The value used to evaluate exceptions.

## Other responses

- `400` — Invalid input data response
- `401` — Unsuccessful authentication response
- `403` — Not enough privileges response
- `404` — List item not found response
- `500` — Internal server error response

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
