An environment can be removed using the envremove command. This command stop any applications running within the environment and then deletes the entire environment directory.
You should use this command with caution. Unless you have a backup of the environment, you cannot undo the effects of this command.
If you just want to remove a deployed bundle from an environment and not the entire environment, you can use the undeploy command.