Set a property on a agent


PUT https://{hostname}:{port}
Accept: application/json
Table 1. Header parameters
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",
  "description": "The description of the property 
  "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)",
  "label": "The label of the property (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.