Zeabur Service Delete
Always usenpx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Deleting a service removes its deployments, domains, and data. This is irreversible — always confirm with the user before proceeding.
Safety First
Before deleting:
- List services so the user can verify the target
- Show the service name and ID and ask for explicit confirmation
- Only then run the delete command
Delete by ID
npx zeabur@latest service delete -i=false --id <service-id> -yFlags
| Flag | Description |
|---|---|
--id | Service ID to delete |
-y, --yes | Skip confirmation prompt |
-i=false | Non-interactive mode (always use this) |
Workflow
# 1. List services to find the target (use the `zeabur-service-list` skill)
npx zeabur@latest service list --project-id <project-id> -i=false --json
# 2. Confirm with user: "Delete <service-name> (<service-id>)?"
# 3. Delete
npx zeabur@latest service delete -i=false --id <service-id> -yTo delete an entire project instead, use the zeabur-project-delete skill.