# Update

> Update a lobby.

Update a lobby.

Authentication Required: `Yes`

```bash
ugs lobby update <lobby-id> <body> [options]
```

## Arguments

`<lobby-id>` The ID of the lobby to update.

`<body>` The JSON body containing the update to apply to the lobby. If this is a file path, the content of the file is used; otherwise, the raw string is used.

## Options

|                  | Alias                  | Description                          |
| ---------------- | ---------------------- | ------------------------------------ |
| service-id       | --service-id           | (REQUIRED) The service ID.           |
| player-id        | --player-id            | The ID of the player to impersonate. |
| project-id       | -p, --project-id       | The Unity cloud project ID.          |
| environment-name | -e, --environment-name | The services environment name.       |
| help             | -?, -h, --help         | Display help and usage information.  |
| quiet            | -q, --quiet            | Reduce logging to a minimum.         |
| json             | -j, --json             | Use JSON as the output format.       |
