Security Exceptions API
Update an exception list item
Spaces method and path for this operation:
<div><span class="operation-verb put">put</span> <span class="operation-path">/s/{space_id}/api/exception_lists/items</span></div>Refer to Spaces for more information.
Update an exception list item using the id or item_id field.
put/api/exception_lists/items
Request body
Example request
{
"comments": [],
"description": "Updated description",
"entries": [
{
"field": "host.name",
"operator": "included",
"type": "match",
"value": "rock01"
}
],
"item_id": "simple_list_item",
"name": "Updated name",
"namespace_type": "single",
"tags": [],
"type": "simple"
}Response
Successful response
Example response
{
"entries": [
{
"list": {
"id": "21b01cfb-058d-44b9-838c-282be16c91cd"
}
}
],
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"item_id": "simple_list_item",
"list_id": "simple_list"
}