Added a delete note API call