Create a new environment from template

This command creates and Environment from a template and attaches it to the specified application.

Request

PUT https://{hostname}:{port}
    /cli/environment/createEnvironmentFromTemplate
Accept: application/json
Table 1. Header parameters
Parameter Type Required Description
Accept application/json true  
This command takes a JSON request string or file. Use the following template for the request:
{
  "applicationId": "Application ID associated with the 
  Environment template.",
  "description": "Description (optional)",
  "name": "Environment name",
  "templateId": "ID of the template to use, either this 
  field or templateName are required.",
  "templateName": "Name of a template to use, either this 
  field or templateId are required."
}

Related CLI command: createEnvironmentFromTemplate.


Feedback