Set a property on a agent#


PUT https://{hostname}:{port}
Accept: application/json

Parameter Type Required Description
Accept application/json true  

This command takes a JSON request string or file. Use the following template for the request:

  "agent": "Name or ID of the agent",
  "isSecure": "Whether the property is secure; the default 
  is the current state of the property, or false if the 
  property is not yet specified (optional)",
  "name": "Name of the property",
  "value": "New value for the property (optional)"


curl -k -u jsmith:passwd 

  ?agent=myAgent&name=newProperty&value=newValue" -X PUT

Example response#


Related CLI command: setAgentProperty.

Parent topic: agentCLI resource