Set a property on environment

Request

PUT https://{hostname}:{port}
    /cli/environment/propValue?{parameters}
Table 1. Request parameters
Parameter Type Required Description
name string true Name of the property to set
value string false Value of the property to set
environment string true Name or ID of the environment
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 false Name or ID of the application; this value is required if you specify the environment name instead of ID

Example response

{
  "id": "ba3f8bd4-c26e-4529-a2a3-66e283242244",
  "name": "Prop1",
  "value": "value1",
  "secure": false
}

Related CLI command: setEnvironmentProperty.


Feedback