ACL DELUSER

Syntax
ACL DELUSER username [username ...]
Available since:
6.0.0
Time complexity:
O(1) amortized time considering the typical user.
ACL categories:
@admin, @slow, @dangerous,

Delete all the specified ACL users and terminate all the connections that are authenticated with such users. Note: the special default user cannot be removed from the system, this is the default user that every new connection is authenticated with. The list of users may include usernames that do not exist, in such case no operation is performed for the non existing users.

Examples

> ACL DELUSER antirez
1

RESP2/RESP3 Reply

Integer reply: the number of users that were deleted. This number will not always match the number of arguments since certain users may not exist.
RATE THIS PAGE
Back to top ↑