Set a property on a component

Request

PUT https://{hostname}:{port}
    /cli/component/propValue?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
name string true Name of the property
value string false Value of the property
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
component string true Name or ID of the component
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true  

Example response

{
  "id": "3702f391-09e1-4550-903a-d5ae286c94aa",
  "name": "Prop1",
  "value": "value1",
  "secure": false
}

Related CLI command: setComponentProperty.


Feedback