setVersionProperty

Set a property on a component version

Format

udclient [global-args...] [global-flags...]
  setVersionProperty [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
component string false Name or ID of the component; this value is required if you specify the version name instead of ID
version string true Name or ID of the version
name string true Name of the property to set
value string false Value of the property to set
isSecure boolean false Whether the property is secure; the default is the current state of the property, or false if the property is not yet specified

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  setVersionProperty
  -component JPetStore-APP
  -version 1.0
  -name Prop1
  -value value1

Example response

{
  "id": "33528ab5-a7be-46cb-9f0c-916a42bd2f62",
  "name": "Prop1",
  "value": "value1",
  "secure": false
}

Related REST command: Set a property on a component version.


Feedback