added metadata delete endpoint