implement DELETE api