Adding delete record API