Security Lists API
Update a value list
Spaces method and path for this operation:
<div><span class="operation-verb put">put</span> <span class="operation-path">/s/{space_id}/api/lists</span></div>Refer to Spaces for more information.
Update a value list using the list id. The original list is replaced, and all unspecified fields are deleted.
info You cannot modify the id value.
put/api/lists
Request body
Example request
{
"description": "Latest list of bad ips",
"id": "ip_list",
"name": "Bad ips - updated"
}Response
Successful response
Example response
{
"_version": "WzIsMV0=",
"@timestamp": "2025-01-08T04:47:34.273Z",
"created_at": "2025-01-08T04:47:34.273Z",
"created_by": "elastic",
"id": "21b01cfb-058d-44b9-838c-282be16c91cd",
"name": "List of bad IPs",
"tie_breaker_id": "f5508188-b1e9-4e6e-9662-d039a7d89899",
"updated_at": "2025-01-08T04:47:34.273Z",
"updated_by": "elastic",
"version": 1
}