List all banned users on the server. Requires manage_users permission.
{
"cmd": "users_banned_list"
}None.
{
"cmd": "users_banned_list",
"users": ["username1", "username2", "username3"]
}{"cmd": "error", "val": "Authentication required"}{"cmd": "error", "val": "Access denied: manage_users permission required"}
- Requires
manage_userspermission.
- Banned users list can only be viewed by users with the
manage_userspermission. - Returns a list of usernames (not user IDs).
- Banned users are those with the
bannedrole. - Banned users cannot authenticate with the server.
- Currently connected banned users will remain connected until they disconnect.
- Empty list is returned if no users are banned.
- Use
user_unbanto remove a user from the banned list. - Use
user_banto add a user to the banned list.
- user_ban - Ban a user
- user_unban - Unban a user
- users_list - List all users
See implementation: handlers/message.py (search for case "users_banned_list":).