Restart an agent

Request

PUT https://{hostname}:{port}
    /cli/agentCLI/restart?{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/restart?agent=MyAgent" -X PUT

Related CLI command: restartAgent.