Set a property on an application

Request

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

Example

curl -k -u jsmith:passwd 
   
  "https://myserver.example.com:8443/cli/application/propValue
  ?application=JPetStore&name=Prop4&value=value4" -X PUT

Example response

{
  "id": "7b818dfe-efd9-465a-bee3-775f60dc297d",
  "name": "Prop4",
  "value": "value4",
  "secure": false
}

Related CLI command: setApplicationProperty.


Feedback