Test the connection from an agent to the server

Request

PUT https://{hostname}:{port}
    /cli/agentCLI/test?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
agent string true Name or ID of the agent
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example

curl -k -u jsmith:passwd 
   
  "https://deployserver.example.com:8443/cli/agentCLI/test
  ?agent=myAgent" -X PUT

Related CLI command: testAgent.