> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lobby.PostUpdateAsServer

> Lobby.PostUpdateAsServer

Post an update to a client-owned lobby as a joined server.

```csharp theme={null}
public void PostUpdateAsServer(LobbyServerDataUpdate lobbyServerUpdate)
```

| parameter | description |
| - | - |
| lobbyServerUpdate | An update to apply to the portion of the lobby data owned by the joined server. |

## Remarks

This is an asynchronous operation. Upon successful completion, the title is provided a [PlayFabMultiplayer.PlayFabMultiplayerServer.OnServerPostUpdateAsServerCompleted](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/overview.md) with the `OnServerPostUpdateAsServerCompleted result` field set to [Success](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success.md). Upon a failed completion, the title is provided a [PlayFabMultiplayer.PlayFabMultiplayerServer.OnServerPostUpdateAsServerCompleted](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/overview.md) with the `OnServerPostUpdateAsServerCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [OnLobbyUpdated](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated.md) sometime afterwards.

This operation completing successfully only indicates that the Lobby service accepted the update. The title's local view of the lobby state doesn't reflect this update until a [OnLobbyUpdated](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated.md) is provided to the title with the updated state.

This operation is restricted to client-owned lobbies that are using connections.

While this method is present in the unified, cross-platform header, it only implemented for Windows and, XBOX. The method returns errors on other platforms.

## See Also

* class [LobbyServerDataUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerDataUpdate/overview.md)
* class [Lobby](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/overview.md)
* namespace [PlayFab.Multiplayer](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference.md)


## Related topics

- [PlayFabMultiplayer.PlayFabMultiplayerServer.OnServerLobbyPostUpdateAsServerCompleted](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/OnServerLobbyPostUpdateAsServerCompleted.md)
- [Lobby.ServerPostUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ServerPostUpdate.md)
- [PFLobbyServerPostUpdateAsServer](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdateasserver.md)
- [PFLobbyServerPostUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdate.md)
- [PFLobbyPostUpdate](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbypostupdate.md)
