---
title: "PATCH /guilds/{guild_id}/widget"
method: PATCH
path: "/guilds/{guild_id}/widget"
---

# PATCH /guilds/{guild_id}/widget

`PATCH /guilds/{guild_id}/widget`

## Request body

- object
  - `channel_id` string, snowflake
  - `enabled` boolean, nullable

## Response `200`

200 response for update_guild_widget_settings

- WidgetSettingsResponse
  - `enabled` boolean, required
  - `channel_id` string, snowflake, required

## Other responses

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

## Changes

> 58 revisions in range; 4 could not be searched.

- **2026-02-04** `e200830e509a` — 1 info
  - the response property `channel_id` became required for the status `200`

[Change history](https://skmtc.dev/discord/apis/discord-http-api-preview/changes/guilds/:guild_id/widget/patch.md)

---

[API](https://skmtc.dev/discord/apis/discord-http-api-preview.md) · [All operations](https://skmtc.dev/discord/apis/discord-http-api-preview/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/discord/discord-http-api-preview/revisions/49efa428e0dd/schema)
