---
title: Player Update
product: Unity Gaming Services CLI
version: 2.0.0
latest_version: 2.0.0
status: This page documents version 2.0.0. The latest version is 2.0.0.
canonical: https://docs.unity.com/en-us/services-cli/2.0.0/manual/lobby/commands/player-update
latest_url: https://docs.unity.com/en-us/services-cli/2.0.0/manual/lobby/commands/player-update.md
last_updated: 2026-10-01
generated_at: 2026-11-11T16:57:25.725Z
locale: en-us
---

# 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

|                  | 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.      |
