Set a version property for a component

Component version properties are available to each version of the component.

Request

PUT https://{hostname}:{port}
    /cli/component/versionPropDefs?{parameters}
Table 1. Request parameters
Parameter Type Required Description
component string true Name or ID of the component
name string true Name of the property to set
description string false Description of the property
required string false Whether the property is a required value on versions (true/false, optional - defaults to false)
label string false Label for the property when presented in forms. (Optional. Defaults to the name.)
value string false Default value of the property definition
pattern string false A regular expression to enforce that values for this property match a certain pattern. Leave blank to allow any values.
type string false The type of property definition; valid values are TEXT (the default), , TEXTAREA, CHECKBOX, SELECT, MULTI_SELECT, DATETIME, and SECURE

Related CLI command: setComponentVersionPropDef.


Feedback