Channel Management
Remove Channel Whitelist
Remove specific users from channel whitelist
POST
Overview
Remove specific users from channel whitelist. After removal, users will lose whitelist privileges and will not be able to send messages to the channel if whitelist mode is enabled.Request Body
Required Parameters
string
required
Channel ID, cannot be empty or contain special characters
integer
required
Channel type
1- Person channel2- Group channel
Response Fields
string
required
Operation status, returns
"ok" on successStatus Codes
Functionality
Remove Operation
The remove operation performs the following steps:- Verify Users: Check if specified users are in the whitelist
- Remove Entries: Delete specified users from channel whitelist
- Permission Changes: Users lose whitelist privileges
- Take Effect Immediately: Permission changes take effect immediately
Permission Impact
Removed users will lose:Whitelist Mode Impact
When Whitelist Mode is Enabled
- Removed Users: Cannot send messages to the channel
- Other Whitelisted Users: Unaffected, continue to enjoy privileges
- Regular Users: Still cannot send messages
When Whitelist Mode is Disabled
- Removed Users: Can still send messages normally
- Permission Changes: Mainly affects special permissions and priority
Use Cases
Permission Downgrade
Batch Cleanup
Temporary Restriction
Whitelist Management Strategy
Operation Comparison
Management Principles
- Principle of Least Privilege: Only give necessary users whitelist permissions
- Regular Review: Regularly check the necessity of whitelist users
- Permission Grading: Assign different levels of permissions based on user roles
- Transparent Management: Record all permission change operations
Best Practices
- Permission Audit: Regularly review whitelist user activity and necessity
- Progressive Removal: For important users, consider progressive permission downgrade
- Notification Mechanism: Notify relevant users and administrators before removal
- Backup Strategy: Backup current whitelist state before batch operations
- Monitor Impact: Monitor channel activity changes after removal
- Document Records: Record removal reasons and expected impact
Error Handling
Common Errors
Related APIs
- Add Channel Whitelist - Add users to whitelist
- Set Channel Whitelist - Set complete whitelist
- Get Channel Whitelist - Get current whitelist
- Remove Channel Blacklist - Remove blacklist users

