# removes the user username from /etc/passwd but not his home directory
userdel username;
# remove user's files
rm -rf /home/username;

https://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-users.html

admin