added the DELETE endpoint