Delete an exception list item
Spaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/exception_lists/items</span></div>Refer to Spaces for more information.
Delete an exception list item using the id or item_id field.
Query parameters
Exception's identifier.
Exception item's identifier. Either id or item_id must be specified
Human readable string identifier, e.g. trusted-linux-processes
Human readable exception item string identifier, e.g. trusted-linux-processes. Either id or item_id must be specified
Determines whether the exception container is available in all Kibana spaces or just the space in which it is created, where:
- single: Only available in the Kibana space in which it is created.
- agnostic: Available in all Kibana spaces.
For endpoint artifacts, the namespace_type must always be agnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.
single deletes the item in the current Kibana space; agnostic deletes an item in a space-agnostic list. Must match the list that owns the item.
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"
}