🔒 Security

Update Warn Dm Setting

Enable or disable warn DMs for this server

put/api/v1/servers/{server_id}/security/warn-dm-setting

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}/security/warn-dm-setting
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

warn_dm_enabledboolean required

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

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