Delete Criticality Record
Delete the asset criticality record for a specific asset if it exists.
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 http://api.example.com/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",
"@timestamp": "2017-07-21T17:32:28Z"
}
}