Skip to Content
dFlow
Project

dflow projects:delete

Delete a project after its applications, databases, volumes, and jobs are gone.

dflow projects:delete NAME [--confirm-name NAME] [--wait] [--wait-timeout DURATION]

Flags

--confirm-name must equal the project name. On a terminal, the command asks for the name when the flag is empty. --wait and --wait-timeout work like the other delete commands. This command does not accept --project.

What you see

The terminal prints status: succeeded. Empty environments are removed on the way. When the deleted project was the saved one, the saved project is cleared.

Example

dflow projects:delete web --confirm-name web

When it fails

A wrong confirmation name exits 1 before the delete call. A project that still has applications, databases, volumes, or jobs exits 6 and lists what remains. Delete those first. An environment delete that is still running also exits 6. A missing project exits 3. A viewer cannot delete a project and gets exit 2.

MCP: projects_delete with project_id and confirm_name.

How is this guide?

Last updated on