Skip to content

Commit 2d5b8f3

Browse files
committed
[wrangler] Added pages deployment delete command
1 parent 96e1833 commit 2d5b8f3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ wrangler secrets-store store create default --remote
762762
✅ Created store! (Name: default, ID: 2e2a82d317134506b58defbe16982d54)
763763
```
764764

765-
### delete
765+
### delete
766766

767767
Delete a store within Secrets Store.
768768

@@ -1246,6 +1246,21 @@ wrangler pages project delete <PROJECT_NAME> [OPTIONS]
12461246

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

1249+
### `delete`
1250+
1251+
Delete a deployment in your Cloudflare Pages project.
1252+
1253+
```txt
1254+
wrangler pages delete <DEPLOYMENT_ID> [--project-name <PROJECT_NAME>]
1255+
```
1256+
1257+
- `DEPLOYMENT_ID` <Type text="string" /> <MetaInfo text="required" />
1258+
- The ID of the Pages deployment to delete.
1259+
- `--project-name` <Type text="string" /> <MetaInfo text="optional" />
1260+
- The name of the project you would like to delete a deployment for.
1261+
1262+
<Render file="wrangler-commands/global-flags" product="workers" />
1263+
12491264
### `deployment list`
12501265

12511266
List deployments in your Cloudflare Pages project.

0 commit comments

Comments
 (0)