

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

# AppserverClient Command Line Interface

## updateconnection

changes credentials and (optionally) hardware ID.

**Category: Connections**


```
AppServerClientCLI updateconnection -id ras:5 -username user -password pwd [ -hwid dummyhwid ]
```
* **` id (mandatory) `** Specify the connection ID to update.
* **` username (mandatory) `** Specify the new username.
* **` password (mandatory) `** Specify the new password.
* **` hwid (optional) `** Specify a device hardware ID (could be a fake one).
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  Exception
## Examples:
  AppServerClientCLI updateconnection -id ras:5 -username user -password pwd
  AppServerClientCLI updateconnection -id ras:5 -username user -password pwd -hwid myhwid

## See also:
[listconnections](listconnections.md)
[addconnection](addconnection.md)
[deleteconnection](deleteconnection.md)
