Again, look at the documentation for these commands.

man userdel or userdel --help
man groupdel or groupdel --help

Your answer is there.