1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
The "deleteVideo" VOD/AOD API function
To delete media, the iFolderCode must be supplied.
There is no function to retrieve the iFolderCode. But starting with the URL of an mp3 file:
By breaking the URL down, we can easily retrieve the following information:
12345: is the folder ID
10-ain_t-that-peculiar (filename minus extension): is the sFileServerCode
We can then call the delete function using these two pieces of information.
Link to this FAQ: