Terminate an ABL session

When to use:

To terminate an ABL session identified by the specified sessionID. The terminateABLSession query is useful to manage memory leaks and other bad sessions.

Query:
# Tokens: AGENT_ID, SESSION_ID, TERMINATE_OPTION
# Terminate ABL session
{"O":"PASOE:type=OEManager,name=AgentManager","M":["terminateABLSession","AGENT_ID","SESSION_ID", TERMINATE_OPTION]}
Note: In this example, the token AGENT_ID must be replaced with the application's agent ID or PID and the SESSION_ID token must be replaced with the session identifier. Replace the token TERMINATE_OPTION with 0 for a soft or trappable termination of the session, 1 for a hard stop of the session, or 2 to allow the current requests to be finished and then terminate the session.
Result:

Returns a message that the session was terminated:

{"terminateABLSession":true}