---
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` string, snowflake, required

## 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 — The selected mute duration in seconds
  - `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 — The version number of these settings for sync

## 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

---

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