i want to add and delete custom option to dropdown product attributes via custom code.


i have created a attribute name say myattrib, what i want to delete all it otions and add my custom option how can i  do it