(5) Inspect the Studio >> Manager >> Sessions panel to verify that the session has been terminated. Alternatively, you can run a query on the SYS_SESSIONS table in Scratchpad to check the session status:
select SESSION_TYPE, STATUS from /services/databases/system/SYS_SESSIONS where SESSION_ID = 3300878
The result of the query should be: STATUS=TERMINATED
Below is an example of using performServerAction to kill a Studio session.
Issue/Introduction
Is there an API call that I can use to kill a session?