You cannot delete a hero in idle heroes once you have it but you can replace the hero with another hero.