Skip to content

Commit 5bb5f56

Browse files
authored
add wrangler workflows delete command (#22203)
1 parent 6311c35 commit 5bb5f56

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,23 @@ wrangler workflows describe <WORKFLOW_NAME> [OPTIONS]
886886

887887
<Render file="wrangler-commands/global-flags" product="workers" />
888888

889+
### `delete`
890+
891+
Delete a Workflow and all its instances.
892+
893+
```sh
894+
wrangler workflows delete <WORKFLOW_NAME> [OPTIONS]
895+
```
896+
897+
- `WORKFLOW_NAME` <Type text="string" /> <MetaInfo text="required" />
898+
- The name of a registered Workflow.
899+
900+
<Render file="wrangler-commands/global-flags" product="workers" />
901+
902+
```sh
903+
wrangler workflows instances delete my-workflow
904+
```
905+
889906
### `trigger`
890907

891908
Trigger (create) a Workflow instance.

0 commit comments

Comments
 (0)