Users

Update guild settings for user

Changed on

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

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/users/@me/guilds/{guild_id}/settings
  • Auth: API key in header Authorization

Path parameters

string snowflake required
OR
integer 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

Changes

    • info

      added the new optional request property ///

    • info

      added the optional property /// to the response with the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      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

    • info

      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