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

Update connection does not seem to work

Open bellaichef opened this issue 2 years ago • 0 comments

Hi, first of all thanks for the huge work already done !! It helped me a lot.

I have an issue and I don't know if i'm doing something wrong or if there is an issue with the guacamole 1.4.0 connection update.

So the following code return nothing (as expected regarding your doc) and nothing is change in my connection settings, is there something wrong in my syntax ? :

curl -s -k -X PUT -H 'Content-Type: application/json' "myserver"/connections/478/?token="GUAC-ADMIN-TOKEN" --data-binary '{ "parentIdentifier": "495", "name": "PC1", "protocol": "rdp", "parameters": { "port": "3389", "color-depth": "16", "security": "tls", "disable-auth": "true", "ignore-cert": "true", "server-layout": "fr-fr-azerty", "timezone": "Europe/Paris", "console": "true", "resize-method": "display-update", "console-audio": "false", "disable-audio": "true", "disable-bitmap-caching": "true", "disable-offscreen-caching": "true", "disable-glyph-caching": "true", "username": "GK", "password": "P@ssw0rd", "hostname":"10.33.102.15" }, "attributes": { "max-connections": "", "max-connections-per-user": "", "weight": "", "failover-only": "", "guacd-port": "", "guacd-encryption": "", "guacd-hostname": "" } }'

Thanks by advance for any help

bellaichef avatar Mar 09 '23 09:03 bellaichef