Delete an asset criticality record Beta
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
oruser.name
. -
refresh string
If 'wait_for' the request will wait for the index refresh.
Value is
wait_for
.
DELETE /api/asset_criticality
curl \
-X DELETE https://localhost:5601/api/asset_criticality?id_value=string&id_field=host.name
Response examples (200)
{
"deleted": true,
"record": {
"id_field": "host.name",
"id_value": "string",
"criticality_level": "low_impact",
"asset": {
"criticality": "low_impact"
},
"host": {
"asset": {
"criticality": "low_impact"
},
"name": "string"
},
"user": {
"asset": {
"criticality": "low_impact"
},
"name": "string"
},
"@timestamp": "2017-07-21T17:32:28Z"
}
}