Implement api delete for data node