Add delete method to the API