updateComponentResourcePropDef

Update a component resource property definition

Format

udclient [global-args...] [global-flags...]
  updateComponentResourcePropDef [JSON file]

Parameters

None.

Template

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 RE2 syntax documented at https://github.com/google/re2/wiki/Syntax (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 REST command: Update a component resource property definition.