Test the connection from an agent to the server

Request

PUT https://{hostname}:{port}
    /cli/agentCLI/test?{parameters}
Accept: application/json
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 true

Example

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

Related CLI command: testAgent.