{
  "slug": "wrangler-pages-deployment-delete-command-2e7786fae32f",
  "title": "wrangler pages deployment delete command",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-10T09:22:52.000Z",
  "announced_at": "2026-02-10T09:22:52.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When deleting a Pages deployment, run the delete command with its deployment ID and project name; add `--force` (or `-f`) to skip confirmation in CI/CD.",
    "examples": [
      "npx wrangler pages deployment delete <DEPLOYMENT-ID> --project-name <PROJECT-NAME>",
      "npx wrangler pages deployment delete <DEPLOYMENT-ID> --project-name <PROJECT-NAME> --force"
    ],
    "gotchas": [
      "Version: 4.64.0",
      "<DEPLOYMENT-ID> (required): ID of the deployment to delete.",
      "--project-name <PROJECT-NAME>: Name of the project the deployment belongs to.",
      "--force / -f: Release note says it skips confirmation; current command docs say it deletes even if the deployment has an active alias. The docs do not say these effects are mutually exclusive.",
      "Docs conflict: Current docs additionally describe --force as allowing deletion of deployments with active aliases; this behavior is not stated in the Wrangler 4.64.0 release note."
    ]
  },
  "why_it_matters": "Delete a Pages deployment from a project, including from a CI/CD workflow when confirmation should be skipped.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.64.0",
    "https://developers.cloudflare.com/pages/platform/known-issues/",
    "https://developers.cloudflare.com/workers/wrangler/commands/pages/"
  ],
  "rank": 0.98023,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "recover-20261008",
    "verdict_id": "recover-20261008:recover-20261008-3dbb50da4910c71b-2:gate",
    "evidence_hash": "1a3c22db0b52d55b2066afffc9a3047528dd47c96383597b2d4a53729190dc8d"
  },
  "review": {
    "draft_hash": "02cf652b17f942160adb5a37c3fc86bc353d72821e6067efc6a3e6ef25bdbb49",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "recover-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
