Remove specific users from channel whitelist
1 - Person channel2 - Group channel"ok" on success| Status Code | Description |
|---|---|
| 200 | Users removed from whitelist successfully |
| 400 | Request parameter error |
| 403 | No management permission |
| 404 | Channel does not exist |
| 500 | Internal server error |
| Privilege | Impact | Effective Time |
|---|---|---|
| Send Permission | Cannot send messages in whitelist mode | Immediately |
| Special Permissions | Lose ability to bypass certain restrictions | Immediately |
| Priority Processing | Messages no longer receive priority processing | Immediately |
| Privilege Identity | Lose whitelist user status | Immediately |
| Operation | Function | Impact Scope | Use Case |
|---|---|---|---|
whitelist_add | Add to whitelist | Grant privileges | Grant user privileges |
whitelist_remove | Remove from whitelist | Remove privileges | Revoke user privileges |
whitelist_set | Replace entire whitelist | Complete reset | Batch management |
| Error Message | Cause | Solution |
|---|---|---|
| Channel ID cannot be empty | No channel ID provided | Ensure valid channel ID is provided |
| Channel type cannot be 0 | Invalid channel type | Use valid channel type (1 or 2) |
| uids cannot be empty | No user list provided | Provide list of user IDs to remove |
| Remove whitelist failed | Remove operation failed | Check if users are in whitelist |