🧵 Auto Roles

Update Config

Updates the Auto-Role configuration

Rate Limited: 80 requests/minute

patch/api/v1/servers/{server_id}/autoroles/config

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/autoroles/config
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

is_enabledboolean nullable
weekly_enabledboolean nullable
weekly_messages_role_idstring nullable
weekly_voice_role_idstring nullable
weekly_activity_role_idstring nullable
weekly_invites_role_idstring nullable
monthly_enabledboolean nullable
monthly_messages_role_idstring nullable
monthly_voice_role_idstring nullable
monthly_activity_role_idstring nullable
min_messages_thresholdinteger nullable
min_voice_minutes_thresholdinteger nullable
exclude_bot_accountsboolean nullable
announcement_channel_idstring nullable
send_dm_notificationboolean nullable

Response

Successful Response

object required

Changes

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