

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

# AppserverClient Command Line Interface

## deleteconnection

deletes an existing connection.

**Category: Connections**


```
AppServerClientCLI deleteconnection -id ras:5 [-noprompt]
```
* **` id (mandatory) `** Specify the connection ID to delete. Specify the "*" symbol to delete all connections.
* **` noprompt (optional) `** Specify when deleting all connections to suppress the confirmation prompt.
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  Exception
## Examples:
  AppServerClientCLI deleteconnection AppServerCLI deleteconnection -id ras:61
  AppServerClientCLI deleteconnection AppServerCLI deleteconnection -id rdp:7
  AppServerClientCLI deleteconnection AppServerCLI deleteconnection -id *
## Notes:
  If all connections are to be deleted and -noprompt is not used, the user will be prompted to confirm the deletion.
## See also:
[listconnections](listconnections.md)
[addconnection](addconnection.md)
[updateconnection](updateconnection.md)
