

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

# AppserverClient Command Line Interface

## disconnectsession

disconnects a session created from a RAS or RDP connection.

**Category: Sessions**


```
AppServerClientCLI disconnectsession -id session:545567
```
* **` id (mandatory) `** Specify a session ID to disconnect.
## Return codes:
  ok
  NotAvailable
  InvalidArgs
  InvalidId
  Exception
## Examples:
  AppServerClientCLI disconnectsession -id session:545567

## See also:
[sendkeys](sendkeys.md)
[getsessionsinfo](getsessionsinfo.md)
[uploadfile](uploadfile.md)
[downloadfile](downloadfile.md)
