Try OpenEdge Now
skip to main content
Administration Guide
REST API Reference for oemanager.war : Session management : Terminate a session
 

Terminate a session

Description

Terminate the session identified by the specified sessionID.

HTTP Operation

DELETE

URI

//host_name:port/oemanager/applications/App_name
/sessions?sessionID=value&terminateOpt={ 0 | 1 }
where a terminateOpt value of 0 causes a graceful termination and a value of 1 causes a forced termination.

Media type

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X DELETE -v
"http://localhost:16680/oemanager/applications/pas1/sessions?sessionID=123&terminateOpt=1"

Request body example

NA

Response body example

{
"operation":"TERMINATE SESSIONS",
"result":"","outcome":
"FAILURE","errmsg":
"Session","versionStr":
"PASOE 11.5.0","versionNo":1
}