Delete an asset criticality record
Delete the asset criticality record for a specific entity.
Query parameters
-
The ID value of the asset.
-
The field representing the ID.
Values are
host.name
,user.name
,service.name
, orrelated.entity
. -
refresh string
If 'wait_for' the request will wait for the index refresh.
Value is
wait_for
.
DELETE
/api/asset_criticality
curl \
--request DELETE https://localhost:5601/api/asset_criticality?id_value=my_host&id_field=host.name
Response examples (200)
{
"deleted": true,
"record": {
"host": {
"name": "my_host",
"asset": {
"criticality": "high_impact"
}
},
"asset": {
"criticality": "high_impact"
},
"id_field": "host.name",
"id_value": "my_host",
"@timestamp": "2024-08-02T11:15:34.290Z",
"criticality_level": "high_impact"
}
}