Try OpenEdge Now
skip to main content
Administration Guide
REST API Reference for oemanager.war : Agent management : Stop an agent
 

Stop an agent

Description

Stop an agent belonging to a ABL application. Note that you identify the agent by the agentID, which can be obtained by executing /oemanager/applications/ABL_app_name/agents.

HTTP Operation

DELETE

URI

//host_name:port/oemanager/applications/App_name/agents/agentID

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X DELETE -v
http://localhost:16680/oemanager/applications/oepas1/agents/AG-sCIVXeFSQYmcb7RcHo10Zw
-H "Content-Type: application/vnd.progress+json"

Request body example

NA

Response body example

{
"result": {
"agentID": "AG-sCIVXeFSQYmcb7RcHo10Zw"
},
"operation": "STOP AGENT ",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}