Create a component environment property


PUT https://{hostname}:{port}
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:
  "component": "Name or ID of the component",
  "default": "Default value (Optional)",
  "description": "Description for the property (Optional)",
  "label": "Label of the property (Optional)",
  "name": "Name of the property",
  "pattern": "A regular expression that specifies valid 
  values for the property. Follows java.util.regex.Pattern 
  "required": "Whether the property is required (Optional, 
  "secure": "Specify true to create a secure property 
  (Optional, Boolean)"


curl -k -u jsmith:passwd 
  -X PUT

Related CLI command: addEnvironmentProperty.