Skip to main content
PATCH
/
users
/
@me
/
guilds
/
{guild_id}
/
settings
Update guild settings for user
curl --request PATCH \
  --url https://api.fluxer.app/v1/users/@me/guilds/{guild_id}/settings \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message_notifications": 0,
  "muted": true,
  "mute_config": {
    "selected_time_window": 123,
    "end_time": "<string>"
  },
  "mobile_push": true,
  "suppress_everyone": true,
  "suppress_roles": true,
  "hide_muted_channels": true,
  "channel_overrides": {}
}
'
{
  "guild_id": "<string>",
  "message_notifications": 0,
  "muted": true,
  "mute_config": {
    "end_time": "<string>",
    "selected_time_window": 1073741823
  },
  "mobile_push": true,
  "suppress_everyone": true,
  "suppress_roles": true,
  "hide_muted_channels": true,
  "channel_overrides": {},
  "version": 1073741823
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

guild_id
string<snowflake>
required

The ID of the guild

Body

application/json
message_notifications
enum<integer>

Default guild notification level

Available options:
0,
1,
2,
3
muted
boolean

Guild muted

mute_config
object

Guild mute configuration

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

Per-channel overrides

Response

Success

guild_id
string<snowflake> | null
required

The ID of the guild these settings apply to

message_notifications
enum<integer>
required

The default notification level for the guild

Available options:
0,
1,
2,
3
muted
boolean
required

Whether the guild is muted

mute_config
object
required

The mute configuration for the guild

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
required

Per-channel notification overrides

version
integer<int32>
required

The version number of these settings for sync

Required range: 0 <= x <= 2147483647