setAgentProperty

Set a property on a agent

Format

udclient [global-args...] [global-flags...]
  setAgentProperty [parameters]

Parameters

Table 1. 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

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  setAgentProperty
  -agent Agent1
  -name Prop1
  -value value1

Example response

{
  "id":"cdf5e901-f19a-48b8-82fc-c92c256e31df",
  "name":"newProperty",
  "value":"newValue",
  "secure":false
}

Related REST command: Set a property on a agent.


Feedback