Zeabur Project Delete
Always usenpx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Deleting a project removes all services, deployments, and data in it. This is irreversible — always confirm with the user before proceeding.
Safety First
Before deleting:
- List projects so the user can verify the target
- Show the project name and ID and ask for explicit confirmation
- Only then run the delete command
Never batch-delete more than one project without confirming each one.
Delete by ID
npx zeabur@latest project delete -i=false --id <project-id> -yDelete by Name
npx zeabur@latest project delete -i=false -n "<project-name>" -yFind Project ID
# List all projects
npx zeabur@latest project list -i=false
# Filter by name (strip ANSI codes)
npx zeabur@latest project list -i=false 2>/dev/null | grep "<project-name>"Workflow
# 1. List projects to find the target
npx zeabur@latest project list -i=false
# 2. Check services with the `zeabur-service-list` skill, then confirm with user: "Delete <project-name> (<project-id>)?"
# 3. Delete
npx zeabur@latest project delete -i=false --id <project-id> -yFlags
| Flag | Description |
|---|---|
--id | Project ID to delete |
-n, --name | Project name to delete |
-y, --yes | Skip confirmation prompt |
-i=false | Non-interactive mode (always use this) |