Delete a user. It is not possible to delete your own user account and a bad_data_err() will be raised in case you try to. Any tokens associated with the user will also be deleted.
This function requires
GRANT privileges on the
This function generates an event.
|username||str (required)||Username of the user to delete.|
nil when successful. A lookup_err() is raised if the user does not exist.
This code will delete user test:
// Delete user `test` del_user('test');