skills/zeabur/zeabur-claude-plugin/zeabur-service-delete

zeabur-service-delete

SKILL.md

Zeabur Service Delete

Always use npx zeabur@latest to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is 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:

  1. List services so the user can verify the target
  2. Show the service name and ID and ask for explicit confirmation
  3. Only then run the delete command

Delete by ID

npx zeabur@latest service delete -i=false --id <service-id> -y

Delete by Name

npx zeabur@latest service delete -i=false -n "<service-name>" -y

Name lookup can be unreliable — prefer --id when possible.

Flags

Flag Description
--id Service ID to delete
-n, --name Service name to delete
--env-id Environment ID (if service has multiple environments)
-y, --yes Skip confirmation prompt
-i=false Non-interactive mode (always use this)

Workflow

# 1. List services to find the target
npx zeabur@latest service list --id <project-id> -i=false

# 2. Confirm with user: "Delete <service-name> (<service-id>)?"

# 3. Delete
npx zeabur@latest service delete -i=false --id <service-id> -y

See Also

  • zeabur-service-list — list services to find the ID before deleting
  • zeabur-project-delete — delete an entire project (includes all services)
Weekly Installs
1
GitHub Stars
12
First Seen
2 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1