Delete an environment


udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/ [\[global-flags...\]](../../com.udeploy.reference.doc/topics/
  deleteEnvironment [parameters]


Parameter Type Required Description
environment string true Name or ID of the environment
application string false Name or ID of the application; this value is required if you specify the environment name instead of ID
deleteAttachedResources boolean false Specify true to delete all resources in this environment, including all subresources (Optional)
deleteCloudInstances boolean false Specify true to delete any associated instances in the cloud provider; this parameter is valid only for environments that were created dynamically along with the environment (Optional)


udclient -username jsmith -password passwd 
  -application JPetStore 
  -environment NewEnvironment

Related REST command: Delete an environment.

Parent topic: CLI Commands