How can I delete all files for specified period?

It is possible with REST API. Here is an example for Python. Don’t forget to put your API keys.