ACL-DELUSER(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

πŸ’… ACL-DELUSER β€” the valkey manual page, but make it make sense

okay bestie, welcome to acl-deluser(3valkey), part of the Valkey Command Manual. this is the one that says goodbye to users. permanently. πŸ’€


✨ NAME ✨

acl-deluser β€” Deletes ACL users, and terminates their connections.


πŸŽ€ SYNOPSIS πŸŽ€

ACL DELUSER username [username...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: ACL DELUSER deletes all the specified ACL users and terminates all the connections that are authenticated with such users. not just "logs them out" β€” like, the whole connection? gone. bye. πŸ‘‹

⚠️ note note note: the special default user cannot be removed from the system. that's the default user that every new connection is authenticated with, so like, she's not going anywhere, she's the main character. πŸ‘‘

And if your list of usernames includes some that don't even exist? no stress, no drama. in such case no operation is performed for the non existing users. she simply doesn't know her. πŸ™ˆ


πŸ’– REPLY πŸ’–

valkey-protocol(7) Integer reply: the number of users that were deleted.

and bestie, lowkey important: this number will not always match the number of arguments, since certain users may not exist. do the math accordingly. ✨


πŸ”₯ COMPLEXITY πŸ”₯

O(1) amortized time considering the typical user.

translation: fast fast. no cap. πŸ’…


🌈 ACL CATEGORIES 🌈

@admin @dangerous @slow

(yes she's all three. iconic behavior honestly.)


🌸 HISTORY 🌸

  • Available since: 6.0.0

⭐ EXAMPLES ⭐

127.0.0.1:6379> ACL DELUSER antirez
(integer) 1

one (1) user deleted, one (1) integer returned, zero (0) survivors. slay. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr:


and that's the whole page bestie!! this one came from the Valkey 9.0.0 manual, dated 2025-10-21, and it lives under the name ACL-DELUSER(3valkey). go forth and delete responsibly, mwah 🫢✨

πŸ“¦ where this page comes from