# Player Update

> Update a player in a lobby.

Update a player in a lobby.

Authentication Required: `Yes`

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

## Arguments

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

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

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

## Options

| Option           | Alias                  | Description                         |
| ---------------- | ---------------------- | ----------------------------------- |
| service-id       | --service-id           | (REQUIRED) The service ID.          |
| 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.      |
