Stream Chat icon

Stream Chat

Server-side Stream Chat operations

Moderation → Shadow Ban User

AI-generated

Summary

Shadow ban a user globally by hiding their messages from other users without their knowledge.

Inputs

  • Target User ID (required) — The user ID of the person to be shadow banned.
  • Reason — Optional explanation for the shadow ban action.
  • Timeout (Minutes) — Duration of the shadow ban in minutes; set a high number for a permanent ban.
  • IP Address — Optional IP address to ban in addition to the user.
  • User Agent — Optional user agent string to ban in addition to the user.

Output shape

A single JSON object representing the shadow ban operation result.

Response contains details of the ban including reason and timeout; moderation actions may take a few seconds to propagate.

Discussion