I have imported a few things from Excel file, using Metadata API namely Profiles, Roles, Fls,Custom Objects, Custom fields. To achieve rollback I want to delete all of them if insertion of any of them fails. I am able to delete Custom objects and custom fields, but unable to delete roles and profiles. Can anybody tell me any possible way for that using apex code? What are the metadata types that can't be deleted using apex Code?