Removes the caller from their current lobby. If the caller is the host, host duty is transferred to the next player. If the caller is the last player, the lobby is deleted.
Response:
{ "status": "lobby_deleted" }.Players who leave while matchmaking is active are removed from the queue.
Unique player identifier.
Lobby configuration name or ID.
Left the lobby. Returns updated lobby state, or { status: "lobby_deleted" } if you were the last player.
Full lobby state including players, server, and matchmaking info.
Lobby ID.
Invite code for joining (null if private mode is disabled).
Lobby config name.
Current lobby status.
waiting, in_queue, starting, matched, match_found, in_game Player ID of the host.
Maximum player capacity.
Current number of players.
Preferred game server region.
Whether the lobby is hidden from browsing.
Whether players can join mid-game.
Custom game settings.
Players in the lobby with their state.
Game server info (null when no game running).
Matchmaking info (null when not searching).
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.