Delete Cases

elastic_security.delete_cases
ActionBusiness appsconnection required

Calls the Elastic Security API with the connection's credentials.

Permanently delete one or more cases and everything attached to them.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Elastic Security
Secret shape
the Kibana API key ("ApiKey <encoded>" or the bare encoded value), or {"api_key": "…"}
Config it needs
kibana_url, space_id, owner
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
ids
Identifiers of the cases to delete, as a list or a comma-separated string.
arrayYes—≥ 1 characters; array of string—

Output

One shape.

result

FieldTypeExample
deleted
True when Elastic accepted the deletion.
boolean—
ids
The case identifiers that were sent for deletion.
array—
count
How many identifiers were sent.
number—
{
  "count": 0,
  "deleted": false,
  "ids": []
}

Notes

  • Elastic deletes the whole batch or none of it and answers 204 with no body, so the node reports the ids it sent rather than a per-case outcome.

See Delete Cases run in a workflow.

In a technical demo we add the Elastic Security connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.