---
title: "PATCH /lobbies/{lobby_id}"
method: PATCH
path: "/lobbies/{lobby_id}"
---

# PATCH /lobbies/{lobby_id}

`PATCH /lobbies/{lobby_id}`

## Request body

- object
  - `idle_timeout_seconds` integer, nullable
  - `metadata` object, nullable
  - `members` LobbyMemberRequest[], nullable
    - `id` string, snowflake, required
    - `metadata` object, nullable
    - `flags` 1, nullable
    - `additional_name` string, nullable
  - `flags` 1, nullable
  - `override_event_webhooks_url` string, uri, nullable

## Response `200`

200 response for edit_lobby

- LobbyResponse
  - `id` string, snowflake, required
  - `application_id` string, snowflake, required
  - `metadata` object, nullable, required
  - `members` LobbyMemberResponse[], required
    - `id` string, snowflake, required
    - `metadata` object, nullable, required
    - `flags` integer, required
    - `additional_name` string
  - `linked_channel` GuildChannelResponse
    - `id` string, snowflake, required
    - `type` union, required
      - 1 — A direct message between users
      - 3 — A direct message between multiple users
      - 0 — A text channel within a server
      - 2 — A voice channel within a server
      - 4 — An organizational category that contains up to 50 channels
      - 5 — A channel that users can follow and crosspost into their own server (formerly news channels)
      - 10 — A temporary sub-channel within a GUILD_ANNOUNCEMENT channel
      - 11 — A temporary sub-channel within a GUILD_TEXT or GUILD_THREADS_ONLY channel type set
      - 12 — A temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission
      - 13 — A voice channel for hosting events with an audience
      - 14 — The channel in a hub containing the listed servers
      - 15 — Channel that can only contain threads
    - `last_message_id` string, snowflake
    - `flags` integer, required
    - `last_pin_timestamp` string, date-time, nullable
    - `guild_id` string, snowflake, required
    - `name` string, required
    - `parent_id` string, snowflake
    - `rate_limit_per_user` integer
    - `bitrate` integer
    - `user_limit` integer
    - `rtc_region` string, nullable
    - `video_quality_mode` union
      - 1 — Discord chooses the quality for optimal performance
      - 2 — 720p
    - `permissions` string
    - `topic` string, nullable
    - `default_auto_archive_duration` union
      - 60 — One hour
      - 1440 — One day
      - 4320 — Three days
      - 10080 — Seven days
    - `default_thread_rate_limit_per_user` integer
    - `position` integer, required
    - `permission_overwrites` ChannelPermissionOverwriteResponse[]
      - `id` string, snowflake, required
      - `type` union, required
        - 0
        - 1
      - `allow` string, required
      - `deny` string, required
    - `nsfw` boolean
    - `available_tags` ForumTagResponse[]
      - `id` string, snowflake, required
      - `name` string, required
      - `moderated` boolean, required
      - `emoji_id` string, snowflake, required
      - `emoji_name` string, nullable, required
    - `default_reaction_emoji` DefaultReactionEmojiResponse
      - `emoji_id` string, snowflake, required
      - `emoji_name` string, nullable, required
    - `default_sort_order` union
      - 0 — Sort forum posts by activity
      - 1 — Sort forum posts by creation time (from most recent to oldest)
    - `default_forum_layout` union
      - 0 — No default has been set for forum channel
      - 1 — Display posts as a list
      - 2 — Display posts as a collection of tiles
    - `default_tag_setting` union
      - 'match_all' — The thread tags must contain all tags in the search query
      - 'match_some' — The thread tags must contain at least one of tags in the search query
  - `flags` integer, required
  - `override_event_webhooks_url` string, nullable

## Other responses

- `429` — Client ratelimited response
- `4XX` — Client error response

---

[API](https://skmtc.net/discord/apis/discord-http-api-preview.md) · [All operations](https://skmtc.net/discord/apis/discord-http-api-preview/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discord/discord-http-api-preview/versions/f6cd197cbe47/schema)
