Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 5 additions & 59 deletions src/content/docs/workers/wrangler/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1381,74 +1381,20 @@ wrangler rollback [<VERSION_ID>] [OPTIONS]

## dispatch namespace

### `list`

List all dispatch namespaces.

```txt
wrangler dispatch-namespace list
```

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

### `get`

Get information about a dispatch namespace.

```txt
wrangler dispatch-namespace get <NAME>
```

- `NAME` <Type text="string" /> <MetaInfo text="required" />
- The name of the dispatch namespace to get details about.

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

### `create`

Create a dispatch namespace.
<WranglerCommand command="dispatch-namespace list" headingLevel={3}/>

```txt
wrangler dispatch-namespace create <NAME>
```

- `NAME` <Type text="string" /> <MetaInfo text="required" />
- The name of the dispatch namespace to create.

<Render file="wrangler-commands/global-flags" product="workers" />
<WranglerCommand command="dispatch-namespace get" headingLevel={3}/>

### `delete`
<WranglerCommand command="dispatch-namespace create" headingLevel={3}/>

Delete a dispatch namespace.

```txt
wrangler dispatch-namespace get <NAME>
```
<WranglerCommand command="dispatch-namespace delete" headingLevel={3}/>

:::note

You must delete all user Workers in the dispatch namespace before it can be deleted.
:::

- `NAME` <Type text="string" /> <MetaInfo text="required" />
- The name of the dispatch namespace to delete.

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

### `rename`

Rename a dispatch namespace.

```txt
wrangler dispatch-namespace get <OLD_NAME> <NEW_NAME>
```

- `OLD_NAME` <Type text="string" /> <MetaInfo text="required" />
- The previous name of the dispatch namespace.
- `NEW_NAME` <Type text="string" /> <MetaInfo text="required" />
- The new name of the dispatch namespace.

<Render file="wrangler-commands/global-flags" product="workers" />
<WranglerCommand command="dispatch-namespace rename" headingLevel={3}/>

---

Expand Down
Loading