Cancel a response action
Cancel a running or pending response action (Applies only to some agent types).
Body
Required
-
List of agent types to retrieve. Defaults to
endpoint
.Values are
endpoint
,sentinel_one
,crowdstrike
, ormicrosoft_defender_endpoint
. -
If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts.
At least
1
element. Minimum length of each is1
. -
The IDs of cases where the action taken will be logged.
At least
1
element. Minimum length of each is1
. -
Optional comment
-
List of endpoint IDs (cannot contain empty strings)
At least
1
element. Minimum length of each is1
. -
Optional parameters object
POST
/api/endpoint/action/cancel
curl \
--request POST 'https://<KIBANA_URL>/api/endpoint/action/cancel' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"comment":"Cancelling action due to change in requirements","agent_type":"microsoft_defender_endpoint","parameters":{"id":"7f8c9b2a-4d3e-4f5a-8b1c-2e3f4a5b6c7d"},"endpoint_ids":["ed518850-681a-4d60-bb98-e22640cae2a8"]}'
Request example
{
"comment": "Cancelling action due to change in requirements",
"agent_type": "microsoft_defender_endpoint",
"parameters": {
"id": "7f8c9b2a-4d3e-4f5a-8b1c-2e3f4a5b6c7d"
},
"endpoint_ids": [
"ed518850-681a-4d60-bb98-e22640cae2a8"
]
}