🔒 Security

Replace Punishment Rules

Replaces ALL punishment rules at once. Pass an empty list to reset to default (legacy fields). Each rule: {min_violations, action, duration_minutes?}

put/api/v1/servers/{server_id}/security/punishment-rules

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/punishment-rules
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

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