Skip to main content
POST

Overview

Add users to channel blacklist. Users added to the blacklist will be unable to join the channel or send messages.

Request Body

Required Parameters

string
required
Channel ID
integer
required
Channel type
  • 1 - Personal channel
  • 2 - Group channel
array
required
List of user IDs to add to blacklist
string
User ID

Response Fields

string
required
Operation status, returns "ok" on success

Status Codes

Blacklist Mechanism

Restriction Scope

Users added to the blacklist will face the following restrictions:

Permission Hierarchy

Blacklist has higher priority than other permission settings:
  1. Blacklist > Whitelist > Regular member permissions
  2. Administrator permissions > Blacklist (Administrators are not restricted by blacklist)
  3. System users > Blacklist (System users are not restricted by blacklist)

Use Cases

Violation Handling

Handle Content Violations:

Spam and Abuse Prevention

Anti-Spam Management:

Moderation Tools

Advanced Moderation System:

Batch Blacklist Management

Bulk Blacklist Operations:

Best Practices

  1. Clear Policies: Establish clear guidelines for blacklisting users
  2. Documentation: Document all blacklist actions with reasons
  3. Appeal Process: Provide a clear appeal process for blacklisted users
  4. Graduated Response: Use warnings before blacklisting when appropriate
  5. Regular Review: Periodically review blacklists and remove outdated entries
  6. Notification: Inform users when they are blacklisted and why
  7. Audit Trail: Maintain detailed logs of all blacklist operations