🛡️ Restricted Channels

Create Restricted Channel

Erstellt eine neue Kanal-Einschraenkung.

Rate Limited: 30 requests/minute

post/api/v1/servers/{server_id}/restricted-channels

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

Path parameters

server_idstring required

Discord Server ID

Request body

channel_idstring required

Discord Channel ID

allowed_typesstring[] required

Erlaubte Inhaltstypen

delete_messageboolean

Nachricht loeschen?

send_notificationboolean

Benachrichtigung senden?

notification_auto_deleteinteger

Auto-Delete der Benachrichtigung in Sekunden (0 = nicht loeschen)

log_deletionsboolean

Loeschungen loggen?

log_channel_idstring nullable

Channel ID fuer Logs

Response

Successful Response

successboolean required
messagestring required
dataobject nullable

Changes

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