You can use the Server app to delete user accounts that are no longer needed.
In the Server app sidebar, select Users.
Select the user account to delete.
Click .