PUT https://{hostname}:{port}
/cli/agentCLI/setProperty?{parameters}
| Parameter | Type | Required | Description |
|---|---|---|---|
| agent | string | true | Name or ID of the agent |
| name | string | true | Name 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 |
| value | string | false | New value for the property |
curl -k -u jsmith:passwd
"https://myserver.example.com:8443/cli/agentCLI/setProperty
?agent=myAgent&name=newProperty&value=newValue" -X PUT
{
"id":"cdf5e901-f19a-48b8-82fc-c92c256e31df",
"name":"newProperty",
"value":"newValue",
"secure":false
}
Related CLI command: setAgentProperty.