ACL DELUSER
Syntax
ACL DELUSER username [username ...]
Module
aclCategories
admin dangerous slowDescription
Deletes users and terminates their connections. This command cannot delete the default user.
Examples
- Go (Embedded)
- CLI
Delete users:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
ok, err := db.ACLDelUser("username1", "username2")
Delete users:
> ACL DELUSER username1 username2