📌 Sticky Roles

Update Config

patch/api/v1/servers/{server_id}/sticky-roles/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}/sticky-roles/config
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

is_enabledboolean nullable
restore_mode'all' | 'allowlist' | 'blocklist' nullable
role_allowliststring[] nullable
role_blockliststring[] nullable
retention_daysinteger nullable
restore_delay_secondsinteger nullable
max_roles_restoredinteger nullable
skip_dangerous_permissionsboolean nullable
restore_nicknameboolean nullable
skip_if_kickedboolean nullable
skip_if_bannedboolean nullable
ignore_botsboolean nullable
notify_userboolean nullable
notify_messagestring nullable
lock_enabledboolean nullable
log_enabledboolean nullable
log_channel_idstring nullable
log_retention_daysinteger nullable

Response

Successful Response

object required

Changes

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