Update a component resource property definition
Request
POST https://{hostname}:{port}
/cli/component/updateResPropDef
Accept: application/json
Parameter | Type | Required | Description |
---|---|---|---|
Accept | application/json |
true |
This command takes a JSON request string or file. Use the following template for the request:
{
"allowedValues": "Comma separated list of allowed values
in SELECT or MULTI_SELECT properties (Optional)",
"component": "Name or ID of the component",
"description": "Description for the property (Optional)",
"label": "Label of the property (Optional)",
"name": "Name of the property to set",
"pattern": "A regular expression that specifies valid
values for the property. Follows java.util.regex.Pattern
(Optional)",
"required": "Whether the property is required (Optional,
Boolean)",
"type": "the type of property definition; valid values
are TEXT (the default), , TEXTAREA, CHECKBOX, SELECT,
MULTI_SELECT, DATETIME, and SECURE)",
"value": "Default value of the property definition
(Optional)"
}
Related CLI command: updateComponentResourcePropDef.