DEL ENVIRONMENT

Core command DEL ENV DELENV

Deletes an existing Environment

Arguments

<id> (mandatory) existing, active Environment ID

Examples

DEL ENVIRONMENT QA;

Notes

Soft-deletes an existing Environment: DEL ENVIRONMENT <id> (docs/CONNECTION_MODEL.md §5).

id is mandatory and must exist, active (matched case-insensitively per §5.1) - already inactive is reported with a distinct message, unknown with the generic one. Asks for a [y/n] confirmation before proceeding; only y/yes deletes, anything else aborts.

This is a <em>soft</em> delete: the Environment is marked inactive, not removed - DatabaseDefinitionsVault#softDeleteEnvironment refuses if any connection, active or inactive, still references it, or if it is the last remaining active Environment (§5.5). Reactivate it with EDIT ENVIRONMENT (toggle Active back on).

Last modified in release 5.1.6.