---
title: "Update guild settings for user"
method: PATCH
path: "/users/@me/guilds/{guild_id}/settings"
tags: ["Users"]
---

# Update guild settings for user

`PATCH /users/@me/guilds/{guild_id}/settings`

Updates the user's settings for a specific guild, such as notification preferences and visibility settings. Guild-specific settings override default settings.

## Path parameters

- `guild_id` union, required
  - string, snowflake
  - integer

## Request body

- UserGuildSettingsUpdateRequest
  - `message_notifications` 0 | 1 | 2 | 3 — Notification level preference
  - `muted` boolean — Guild muted
  - `mute_config` object, nullable — Guild mute configuration
    - `end_time` union — When the mute expires
      - string
      - integer
    - `selected_time_window` integer, required — Selected mute duration
  - `mobile_push` boolean — Mobile push notifications enabled
  - `suppress_everyone` boolean — Suppress @everyone mentions
  - `suppress_roles` boolean — Suppress role mentions
  - `hide_muted_channels` boolean — Hide muted channels
  - `channel_overrides` object, nullable — Per-channel overrides
  - `unread_badges` 0 | 1 | 2 | 3 — Notification level preference

## Response `200`

Success

- UserGuildSettingsResponse
  - `guild_id` string, snowflake, required
  - `message_notifications` 0 | 1 | 2 | 3, required — Notification level preference
  - `muted` boolean, required — Whether the guild is muted
  - `mute_config` object, nullable, required — The mute configuration for the guild
    - `end_time` string, nullable, required — ISO8601 timestamp of when the mute expires
    - `selected_time_window` integer, required
  - `mobile_push` boolean, required — Whether mobile push notifications are enabled
  - `suppress_everyone` boolean, required — Whether @everyone mentions are suppressed
  - `suppress_roles` boolean, required — Whether role mentions are suppressed
  - `hide_muted_channels` boolean, required — Whether muted channels are hidden in the sidebar
  - `channel_overrides` object, nullable, required — Per-channel notification overrides
  - `unread_badges` 0 | 1 | 2 | 3 — Notification level preference
  - `version` integer, required

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

## Changes

> 14 revisions in range; 1 not diffed.

- **2026-09-18** `dd0ad4ea1c88` — 2 breaking, 2 info
  - the response property `channel_overrides/anyOf[subschema #1]/additionalProperties/mute_config/anyOf[subschema #1]/end_time` became nullable for the status `200`
  - the response property `mute_config/anyOf[subschema #1]/end_time` became nullable for the status `200`
  - response property `channel_overrides/anyOf[subschema #1]/additionalProperties/mute_config/anyOf[subschema #1]/end_time` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `mute_config/anyOf[subschema #1]/end_time` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-09-06** `a52a2cf49d9b` — 32 warning
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `400`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `401`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `403`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `500`
  - …28 more
  - …this revision’s changelog is incomplete
- …earlier changes not shown

[Full history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/users/@me/guilds/:guild_id/settings/patch.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/a54a86d62719?raw)
