The Create a New Environment call adds a new Environment. All the attributes of the new Environment are set through parameters to the API.

API Call


http://host/dmadminweb/API/new/Environment/env_id

[?param=value]

[&param=value]+


Where:


Host

Is the hostname and port of the DeployHub Server (e.g.: hostname:8080 or for SaaS console.deployhub.com).

env_id

Is the name of the Environment to be created.

Param=value

Is an Environment attribute (listed below).


Domain

Is the identifier of the Domain in which the Environment is to be created. Either its name, its qualified name (i.e.: with its parent Domain(s) included in dot notation) or its internal ID.

summary

Is the summary text for the Environment.



NOTE: If “Domain” is not specified, then the Environment is created in the logged in User’s home Domain.

Example Result:


{

       success: true

}