Delete asset criticality record
editDelete asset criticality record
editDelete a single asset criticality record by ID field and ID value.
Request URL
editDELETE <kibana host>:<port>/api/asset_criticality
URL query parameters
editName | Type | Description | Required |
---|---|---|---|
|
String |
The field that contains the entity ID. This must be either |
Yes |
|
String |
The ID (host name or user name) of the entity specified in the |
Yes |
Example requests
editDELETE /api/asset_criticality?id_field=host.name&id_value=my_host
Response code
edit-
200
- Indicates a successful call. Check the response body to see if the record was deleted.
Example responses
editExample 1
If the record was deleted.
{ "deleted": true, "record": { "id_field": "host.name", "id_value": "my_host", "criticality_level": "medium_impact", "@timestamp": "2024-08-05T09:42:11.240Z" } }
Example 2
If the record was not found and could not be deleted.
{ "deleted": false }
For the Fleet APIs, see the Fleet API Documentation.