Command Central 10.5 | Using the Command Line Interface | Landscape Commands | sagcc delete landscape environments
 
sagcc delete landscape environments
Deletes a specified environment.
Syntax
*Command Central syntax:
sagcc delete landscape environments  [env_alias]  [options]         
     
 options:        
[{--debug | -d}]        
[{--error | -r} file]        
[--force]        
[{--log | -l} file]        
[{--password | -p} password]        
[{--quiet | -q}]        
[{--server | -s} url]        
[{--username | -u} user_name]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
env_alias
Optional. Specifies the alias name of the environment you want to delete.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*If you omit env_alias, the command deletes all environments.
*When you delete an environment, the installations in that environment are not deleted. They are still under Command Central management, but no longer assigned to the environment.
*If you want to remove an installation from the environment, use the sagcc remove landscape environments nodes command.
*If you want to remove an installation from Command Central management, use the sagcc delete landscape nodes command.
Example When Executing on Command Central
To delete the environment with the alias name “dev1”using the authorization of the user with user name “Administrator” and password “manage”:
sagcc delete landscape environments dev1 --username Administrator    
--password manage
Because the {--server | -s} option is not specified, the command uses the default server. For more information, see server.