You can delete a user account in FreeBSD using the pw command. The following command will delete a user account named “user1”:
# pw userdel user1
By default, the user’s home directory and related files will also be deleted. If you want to preserve the user’s home directory, use the -d option with pw userdel:
# pw userdel -d user1