Thanks for your answer, but this don’t really solve my problem
I am looking for a wordpress instruction I could include in my process, means an automatic solution
As this is for only one file , using admin panel is faster (for the user) than a WP-CLI or using a specific plugin
For the purpose of my process I need to delete the file using unlink function, the guy who will use my process will not understand if my process says “file deleted” and it still appears in the media library
Best regards