Users

Update guild settings for user

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

patch/users/@me/guilds/{guild_id}/settings

Path parameters

guild_idstring snowflake required

The ID of the guild

Request body

message_notifications0 | 1 | 2 | 3

Notification level preference

mutedboolean

Guild muted

mobile_pushboolean

Mobile push notifications enabled

suppress_everyoneboolean

Suppress @everyone mentions

suppress_rolesboolean

Suppress role mentions

hide_muted_channelsboolean

Hide muted channels

channel_overridesobject nullable

Per-channel overrides

unread_badges0 | 1 | 2 | 3

Notification level preference

Response

Success

guild_idstring snowflake required
message_notifications0 | 1 | 2 | 3 required

Notification level preference

mutedboolean required

Whether the guild is muted

mobile_pushboolean required

Whether mobile push notifications are enabled

suppress_everyoneboolean required

Whether @everyone mentions are suppressed

suppress_rolesboolean required

Whether role mentions are suppressed

hide_muted_channelsboolean required

Whether muted channels are hidden in the sidebar

channel_overridesobject nullable required

Per-channel notification overrides

unread_badges0 | 1 | 2 | 3

Notification level preference

versioninteger required

The version number of these settings for sync

Changes

No recorded changes to this endpoint across all 1 revision of this API.