Update an environment template prop sheet def from a JSON file.

Request

PUT https://{hostname}:{port}
    /cli/environmentTemplate/propSheetDef?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
environmentTemplate string true ID of the environment template
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "README": "See entity attribute for the template 
  description expected by this endpoint.",
  "entity": [{
    "allowedValues": "Optional, array of elements {\"
  value\":\"Required, a value\",\"label\":\"Optional, 
  defaults to value\"}",
    "description": "Optional",
    "httpAuthenticationType": "Optional, BASIC or BEARER",
    "httpBasePath": "Optional",
    "httpFormat": "JSON or XML",
    "httpLabelPath": "Optional",
    "httpPassword": "Optional",
    "httpUrl": "Optional, required for Http property types",
    "httpUsername": "Optional",
    "httpValuePath": "Optional",
    "label": "Optional, label displayed to user",
    "name": "Required, the property name",
    "pattern": "Optional, regular expression for the value",
    "required": "Optional boolean, if the property is 
  required",
    "resolveHttpValuesUrl": "Optional",
    "type": "Optional, Default TEXT, Type of property 
  definition",
    "value": "Optional, Default value"
  }]
}

Related CLI command: updateEnvironmentTemplatePropDefs.