Description

Reset the in-memory maximum ABL Sessions per Agent (dynmaxablsessions) back to the value that maxABLSessionsPerAgent is set to in the openedge.properties file.

HTTP Operation

DELETE

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/agentPID/dynamicSessionLimit
Note: Agent PID (for example, 1144) or agent ID (for example, W9UI_6dJQ-qSsk-o25mWAw) can be used to identify the multi-session agent. Both values can be obtained using the List agents API.

Media type

application/vnd.progress+json

Response codes

200 Success
403 Access Denied
500 Unexpected Server Error

Command-line example

curl -X DELETE -u username:password -v
http://localhost:16680/oemanager/applications/oepas1/agents/1144/dynamicSessionLimit

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Delete('http://localhost:16680/oemanager/applications/oepas1/agents/1144/dynamicSessionLimit')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

{
   "operation":"ResetDynamicABLSessionLimit",
   "outcome":"SUCCESS",
   "result":{
      "AgentSessionInfo":[
         {
            "ABLOutput":{
               "numABLSessions":2,
               "numAvailableSessions":2,
               "dynmaxablsessions":200
            },
            "ABLReturnVal":true,
            "agentId":"iDpJxd-FTmyZ7CnX0IJpMw",
            "pid":"10291"
         }
      ]
   },
   "errmsg":"",
   "versionStr":"v12.2.0 ( 2019-12-18 )",
   "versionNo":1
}