Set a property on a component version

Request

PUT https://{hostname}:{port}
    /cli/version/versionProperties?{parameters}
Accept: application/json
Table 1. Request 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
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true  

Example response

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

Related CLI command: setVersionProperty.


Feedback