Leave Lobby As Server
Preview: Request for server to leave a lobby. This is restricted to client owned lobbies which are using connections.
Allowed entity token types: game_server
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| LobbyBadRequest | 13007 |
| LobbyDoesNotExist | 13000 |
| LobbyDoesNotUseConnections | 13017 |
| LobbyIsNotClientOwned | 13016 |
| LobbyRateLimitExceeded | 13001 |
| LobbyServerMismatch | 13012 |
| LobbyServerNotFound | 13013 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
Preview: Request for server to leave a lobby. Only a game_server entity can leave and this is restricted to client owned lobbies which are using connections.
Preview: Request for server to leave a lobby. Only a game_server entity can leave and this is restricted to client owned lobbies which are using connections.
The id of the lobby.
The game_server entity leaving the lobby. If the game_server was subscribed to notifications, it will be unsubscribed. If a the given game_server entity is not in the lobby, it will fail.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
