api allows deletion now, advances towards #19 and #20