Delete an environment

Request

DELETE http://{hostname}:{port}
  /landscaper/rest/environment/{environmentName}/{environmentId}
Table 1. URL parameters
Parameter Type Required Description
environmentName string true Name of the environment
environmentId string true ID of the environment

Example

curl -u jsmith:passwd 
   -X DELETE
  http://myserver.example.com:8080/landscaper/rest/environment/MyEnvironment/ABC123

Example response

Note: If the command returns only a response code of 200 and no JSON, the engine successfully deleted the environment.

Feedback