The peel of sweet potato is edible so it is not necessary to peel. When sweet potatoes are used in dessert, it is best to peel them. But for savory dishes like hash, it's a matter of personal preference.