/agents/{id} [ DELETE ]

Delete an agent. An agents may be deleted only if:
  1. It is not online
  2. It is not terminated protected (see Agent Configuration)

URL Parameters

Name Optional Valid values
id No Identifier/name of an existing agent (e.g. my_agent)

Request Examples      

curl -k -u admin:admin -X DELETE https://OPERETOHOST/agents/my_agent


Response Examples    

    "status": "success"


  "status": "fail",
  "message": "Agents may be deleted only if not connected. Please shutdown the relevant agents prior to deletion."