To delete a hero in Minecraft dungeons, you first need to find them. You can do this by looking for their icon on the map, or by using the /heroes command. Once you find them, you can use the /deletehero command to delete them.