/environments/{id} [ DELETE ]

Delete an existing environment. 
Please note that deleting an environment will not delete the agents it contains but only the classification of those agents to the deleted environment.

URL Parameters


Name Optional Valid values
id No Identifier of an existing environment


Request Examples      

curl -k -u admin:admin -X DELETE https://OPERETOHOST/environments/my_env

   

Response Example      

{"status": "error", "message": "Environment [my_env] does not exist."}

 

{"status": "success"}