ev delete

Usage

ev delete <app>
ev delete <app:env>

Description

Deletes an app or a specific environment. Requires typing the name to confirm.

Deleting an app removes all its environments, secrets, and release history. Deleting an environment removes its secrets and releases but keeps the app.

Examples

# Delete an app and everything in it
ev delete old-frontend
 
# Delete just the staging environment
ev delete api:staging

App Naming

When you define apps in ev.yaml, the key becomes the app name:

apps:
  Pay:
    path: apps/delightable-pay
  Account:
    path: apps/delightable-account

If you rename an app key (e.g., delightable-payPay), the next ev push creates a new app called "Pay". Delete the old one with:

ev delete delightable-pay

On this page