Channel Management
Add Channel Blacklist
Add users to channel blacklist
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
Channel ID
Channel type
1- Personal channel2- Group channel
Response Fields
Operation status, returns
"ok" on successStatus Codes
| Status Code | Description |
|---|---|
| 200 | Blacklist operation successful |
| 400 | Request parameter error |
| 403 | No management permission |
| 404 | Channel does not exist |
| 500 | Internal server error |
Blacklist Mechanism
Restriction Scope
Users added to the blacklist will face the following restrictions:| Operation | Restriction Effect | Description |
|---|---|---|
| Send Messages | Prohibited | Cannot send any messages in the channel |
| Join Channel | Blocked | Cannot join or rejoin the channel |
| View Messages | Limited | May have limited access to channel content |
Permission Hierarchy
Blacklist has higher priority than other permission settings:- Blacklist > Whitelist > Regular member permissions
- Administrator permissions > Blacklist (Administrators are not restricted by blacklist)
- 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
- Clear Policies: Establish clear guidelines for blacklisting users
- Documentation: Document all blacklist actions with reasons
- Appeal Process: Provide a clear appeal process for blacklisted users
- Graduated Response: Use warnings before blacklisting when appropriate
- Regular Review: Periodically review blacklists and remove outdated entries
- Notification: Inform users when they are blacklisted and why
- Audit Trail: Maintain detailed logs of all blacklist operations

