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

# Patch a value list item

`PATCH /api/lists/items`

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

<div><span class="operation-verb patch">patch</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.

Update specific fields of an existing value list item using the item `id`.

## Request body

- object
  - `_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.
  - `id` string, nonempty, required — Value list item's identifier.
  - `meta` SecurityListsAPIListItemMetadata — Placeholder for metadata about the value list item.
  - `refresh` 'true' | 'false' | 'wait_for' — Determines when changes made by the request are made visible to search.
  - `value` string, nonempty — The value used to evaluate exceptions.

## Response `200`

Successful response

- 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)
