guacamole-rest-api-documentation icon indicating copy to clipboard operation
guacamole-rest-api-documentation copied to clipboard

Kill active session without deleting

Open frisedel opened this issue 3 years ago • 5 comments

Is there a "Kill session" call for this api? In the client UI, there is a button doing just that but I can't seem to find any API call for it. I tried "Kill connection" but that is ie the same as "Delete connection", but using patch rather than delete.

frisedel avatar Feb 22 '22 11:02 frisedel

Is there a "Kill session" call for this api? In the client UI, there is a button doing just that but I can't seem to find any API call for it. I tried "Kill connection" but that is ie the same as "Delete connection", but using patch rather than delete.

There very well may be a kill session api route, this documentation is out of date, but is the best I have found. I will do some digging with postman and see what i can find out for you this evening.

AustinLeath avatar Feb 22 '22 14:02 AustinLeath

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

ridvanaltun avatar Feb 22 '22 20:02 ridvanaltun

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

yes, that is true, but this is still one of the better documents for the rest api that I have found :)

frisedel avatar Feb 23 '22 07:02 frisedel

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

yes, that is true, but this is still one of the better documents for the rest api that I have found :)

I agree. This is literally THE best documentation out there. I have made some discoveries that I would like to add, but just need to find the time

AustinLeath avatar Feb 23 '22 16:02 AustinLeath

@ridvanaltun the kill button is possibly linked to the "sendEnd" function at line 71. https://guacamole.apache.org/doc/guacamole-common-js/main_webapp_modules_OutputStream.js.html

if so, the functionality is there and possibly is in the api some where. but I think that we will just have to close the stream forcefully when done by terminating and removing the connection.

frisedel avatar Feb 24 '22 09:02 frisedel