Skip to main content
PATCH
Update lobby settings

Path Parameters

lobbyId
string
required

Query Parameters

projectId
string
required
playerId
string
required

Body

application/json
name
string

Lobby name

Example:

"Epic Battle Room"

description
string

Lobby description

maxSize
number
default:10

Maximum number of players

Required range: 2 <= x <= 100
privacy
enum<string>
default:PUBLIC

Lobby privacy setting

Available options:
PUBLIC,
PRIVATE,
INVITE_ONLY,
FRIENDS
gameMode
string

Game mode

Example:

"deathmatch"

difficulty
string

Difficulty level

Example:

"hard"

password
string

Password for private lobbies

Example:

"secret123"

config
object

Custom configuration

Example:
metadata
object

Additional metadata

Response

Lobby updated