🛡️ Restricted Channels

Update Restricted Channel

Aktualisiert eine Kanal-Einschraenkung.

Rate Limited: 30 requests/minute

patch/api/v1/servers/{server_id}/restricted-channels/{config_id}

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}/restricted-channels/{config_id}
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

config_idinteger required

Config ID

Request body

allowed_typesstring[] nullable

Erlaubte Inhaltstypen

is_enabledboolean nullable

Aktiviert/Deaktiviert

delete_messageboolean nullable

Nachricht loeschen?

send_notificationboolean nullable

Benachrichtigung senden?

notification_auto_deleteinteger nullable

Auto-Delete in Sekunden

log_deletionsboolean nullable

Loeschungen loggen?

log_channel_idstring nullable

Channel ID fuer Logs (null = entfernen)

Response

Successful Response

successboolean required
messagestring required
dataobject nullable

Changes

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