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