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

# Update lobby settings



## OpenAPI

````yaml /api-reference/openapi.json patch /lobbies/{lobbyId}
openapi: 3.0.0
info:
  title: EngageFabric API
  description: >-
    EngageFabric is a multi-tenant SaaS gamification framework. This API
    provides endpoints for managing players, tracking events, quests,
    adventures, leaderboards, lobbies, and real-time features.
  version: 1.0.0
  contact:
    name: EngageFabric Support
    url: https://engagefabric.com
    email: support@engagefabric.com
  license:
    name: Proprietary
    url: https://engagefabric.com/terms
servers:
  - url: https://api.engagefabric.com
    description: Production
  - url: http://localhost:3000
    description: Development
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: tenants
    description: Tenant management
  - name: projects
    description: Project management
  - name: players
    description: Player management and game state
  - name: events
    description: Event ingestion and tracking
  - name: quests
    description: Quest management and progress
  - name: adventures
    description: Adventure/season management
  - name: leaderboards
    description: Leaderboard rankings
  - name: lobbies
    description: Multiplayer lobby management
  - name: chat
    description: Real-time chat
  - name: rules
    description: Rules engine configuration
paths:
  /lobbies/{lobbyId}:
    patch:
      tags:
        - Lobbies
      summary: Update lobby settings
      operationId: LobbyController_update
      parameters:
        - name: projectId
          required: true
          in: query
          schema:
            type: string
        - name: playerId
          required: true
          in: query
          schema:
            type: string
        - name: lobbyId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLobbyDto'
      responses:
        '200':
          description: Lobby updated
        '403':
          description: Not authorized
        '404':
          description: Lobby not found
      security:
        - api-key: []
components:
  schemas:
    UpdateLobbyDto:
      type: object
      properties:
        name:
          type: string
          description: Lobby name
          example: Epic Battle Room
        description:
          type: string
          description: Lobby description
        maxSize:
          type: number
          description: Maximum number of players
          default: 10
          minimum: 2
          maximum: 100
        privacy:
          type: string
          description: Lobby privacy setting
          enum:
            - PUBLIC
            - PRIVATE
            - INVITE_ONLY
            - FRIENDS
          default: PUBLIC
        gameMode:
          type: string
          description: Game mode
          example: deathmatch
        difficulty:
          type: string
          description: Difficulty level
          example: hard
        password:
          type: string
          description: Password for private lobbies
          example: secret123
        config:
          type: object
          description: Custom configuration
          example:
            mapSeed: 12345
            challengeId: challenge-1
        metadata:
          type: object
          description: Additional metadata

````