👥 Advanced Moderation

Update Log Channel Settings

Updates log channel settings.

put/api/v1/servers/{server_id}/moderation/log-channel

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}/moderation/log-channel
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

channel_idstring nullable
is_enabledboolean nullable
log_bansboolean nullable
log_unbansboolean nullable
log_kicksboolean nullable
log_timeoutsboolean nullable
log_timeout_removesboolean nullable
log_warnsboolean nullable
include_imagesboolean nullable
max_image_size_mbinteger nullable
ping_role_idstring nullable
ping_on_banboolean nullable
ping_on_kickboolean nullable

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

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