﻿---
title: stack kb workflows delete-workflows cli command
description: Bulk delete workflows Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/525/cli/stack/kb/workflows/delete-workflows
---

# stack kb workflows delete-workflows cli command
<cli-modifiers>
</cli-modifiers>

```bash
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

## Options

<definitions>
  <definition term="--ids string[] required">
    Array of workflow IDs to delete.
  </definition>
  <definition term="--[no-]force">
    When true, permanently deletes the workflows (hard delete) instead of soft-deleting them. The workflow IDs become available for reuse.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--[no-]json">
    output as JSON
  </definition>
</definitions>