Skip to main content

ACL DELUSER

Syntax

ACL DELUSER username [username ...]

Module

acl

Categories

admin dangerous slow

Description

Deletes users and terminates their connections. This command cannot delete the default user.

Examples

Delete users:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
ok, err := db.ACLDelUser("username1", "username2")