stack kb workflows delete-workflows cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack kb workflows delete-workflows --ids <ids> [options]
Bulk delete workflows
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idsstring[]required-
Array of workflow IDs to delete.
Repeatable: pass
--idsmultiple times to supply more than one value --force- When true, permanently deletes the workflows (hard delete) instead of soft-deleting them. The workflow IDs become available for reuse.
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--yes- confirm destructive action without prompting
--json-
output as JSON