Skip to main content
POST

Overview

Remove specific users from channel blacklist. Removed users will regain normal permissions and can send and receive channel messages again. Related conversations will be restored if applicable.

Request Body

Required Parameters

channel_id
string
required
Channel ID, cannot be empty or contain special characters
channel_type
integer
required
Channel type
  • 1 - Person channel
  • 2 - Group channel
uids
array
required
List of user IDs to remove from blacklist
uids[]
string
User ID

Response Fields

status
string
required
Operation status, returns "ok" on success

Status Codes

Functionality

Remove Operation

The remove operation performs the following steps:
  1. Verify Users: Check if specified users are in the blacklist
  2. Remove Entries: Delete specified users from channel blacklist
  3. Restore Permissions: Users regain ability to send and receive messages
  4. Restore Conversations: Restore user’s related conversations if applicable

Permission Restoration

Removed users will regain:

Special Cases

Live Channels

  • No Conversation Restoration: Live channels do not automatically restore conversations
  • Permissions Take Effect Immediately: Users can still immediately regain send and receive permissions

Person Channels

  • Blacklist Not Supported: Person channels do not support blacklist operations
  • Returns Error: Attempting operations will return corresponding error messages

Use Cases

Lift Mistaken Ban

Batch Restoration

Temporary Unban

Best Practices

  1. Permission Verification: Ensure operator has sufficient management permissions
  2. Operation Recording: Record all blacklist change operations
  3. Notification Mechanism: Notify relevant administrators and users
  4. Progressive Unbanning: For serious violators, consider progressive permission restoration
  5. Monitoring Mechanism: Continue monitoring user behavior after removal
  6. Backup Strategy: Backup current blacklist state before bulk operations

Error Handling

Common Errors