Thanks for pointing out the Core and UI version difference. We will refer the documentation and will fix it.
Actually, I am trying the api from Postman and I can replicate the issue I have mentioned in my original post.
api-calls-screenshots.zip (133.1 KB)
You can refer the screenshots attached.
First I am calling the merge api and the request is successful. Then I am calling the Get Api to retrieve the file. The file is retrieve successfully. Then I am calling delete request to delete that file. I am getting “File Deleted Successfully.” response. Then I am trying to get the file again. I am still getting that file. It is still not deleted, even though we have requested to delete that file.