udclient [global-args...] [global-flags...]
createEnvironment [parameters]
| Parameter | Type | Required | Description |
|---|---|---|---|
| application | string | true | Application to add the environment to |
| name | string | true | Name of the new environment |
| description | string | false | Description of the new environment |
| color | string | false | Color of the new environment, in hex format. For a REST call, URL encode the # symbol; for example, %23ff0000 for pure red. For a udclient command, put the color in hex format in quotes; for example '#ff0000'. |
| requireApprovals | boolean | false | Whether the environment requires approvals |
| noSelfApprovals | boolean | false | Whether the environment allows self approvals |
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
createEnvironment
-application JPetStore
-name NewEnvironment
-color '#ff0000'
Related REST command: Create a new environment.