Mix the salt with the spices, thyme and garlic and rub onto the flesh side of the duck legs. Cover and refrigerate for a day. Wash the duck legs in cold water and pat dry with kitchen paper.