Hi Mike
Thanks for the prompt reply. Just confirming, I should be able to use a REST client (such as ARC), and go to http://GUACAMOLE:8080/api/token/ca5d75b4178839bf0044a37477860a485a475480d2bc4b559a6559ee3b601e2c <https://contactmonkey.com/api/v1/tracker?cm_session=741c123c-dbe3-49df-bfd5-40323003ba91&cm_type=link&cm_link=818c93a9-d578-450c-9699-57d4e06d9890&cm_destination=http://GUACAMOLE:8080/api/token/ca5d75b4178839bf0044a37477860a485a475480d2bc4b559a6559ee3b601e2c> with the method being DELETE? Thanks *From:* Mike Jumper [mailto:[email protected]] *Sent:* Tuesday, 20 March 2018 10:04 AM *To:* [email protected] *Subject:* Re: Remote Disconnection request via extension On Mon, Mar 19, 2018 at 1:26 PM, Paul Azad <[email protected]> wrote: Hi I am looking at how we can remotely terminate a connected session through the Guacamole API. At the moment if a user is logged into a remote session - ie RDP, and go home - leaving their browser window open - the session can stay connected and others on that PC can continue to use the RDP session. As most users have lots of tabs open we find this happens quite often. As we are using the guacamole-auth-json, I am looking as to how we can send the request to disconnect the session. I have looked at the guacamole-auth-json README on Github, but don’t see how we can do this. If you keep track of the auth token returned by Guacamole for your users, you can forcibly terminate any Guacamole session by issuing a DELETE request to /api/tokens/TOKEN, where TOKEN is the auth token returned when the user was authenticated. Their session will end, the token will cease to be valid, and any associated active connections will be closed. - Mike
