delete

Delete an app, or a project with all its apps.

lly delete app [SLUG|ID]
lly delete project [NAME|ID]

Cannot be undone

Deleting an app deletes its deployments, variables, domains and connections. Deleting a project deletes all its apps.

app

lly delete app copperfox
# Delete app copperfox from shop? (y/N)

Deletes the app after confirmation. The slug is released.

project

lly delete project shop
# Type the project name `shop` to delete it and every app in it from Acme

Deletes the project and all its apps. Confirm by typing the project name. The link of the current directory to the project is removed.

Non-interactive use

Without a terminal, both commands require -y. Otherwise nothing is deleted and lly exits with code 2.

lly delete project shop-preview -y

Exit codes

CodeCause
2Not confirmed, or wrong project name
6Project still has apps after 60 seconds. Run the command again.

JSON output

app: {"app", "command", "command_id", "state", "result"}. project: {"project_id", "deleted"}.

On this page