Hi Laveena,
To perform the delete operation, call deleteRecord on the force:recordData component from the appropriate controller action handler. deleteRecord takes one argument, a callback function to be invoked when the operation completes. This callback function receives a SaveRecordResult as its only parameter. SaveRecordResult includes a state attribute that indicates success or error and other details you can use to handle the result of the operation.
You can check the following link: https://www.biswajeetsamal.com/blog/dynamic-add-delete-row-in-lightning-component/