I had the same problem and i have done everything manually.
It's a shame that Apple doesn't put a "Reset to factory Settings" button or simply "Delete all data from iCloud.com". That way, it would be much simpler for everyone including myself.
Winston Churchill is right unfortunately . Happy deleting !