JOC API

Version 2.6.5

Download RAML
JOC API
/agent/reset
POST

Resets Agent

Any currently running orders are continued. Workflows and other deployable objects are withdrawn. The Agent drops its journal and restarts. Then the Controller tries to reconnect to the Agent, deploys workflows etc. and submits orders to the Agent.


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
agentId required, string Agent ID
force optional, boolean With force = true the Agent is reset, even if
  • it could not be paired
  • it has been created by another controller and may be in use
  • it is currently being used by the same controller via another AgentPath
false
auditLog optional, object Object that contains comment, timeSpent and ticketLink.
{
  "comment": "Operational requirement!",
  "timeSpent": 2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.