This is a super ugly Kotlin script to clear the entire trash of Adobe Creative Cloud. There is no "delete all option", so you are stuck with selecting files by shift-clicking and then watching your browser die. I used this script to delete 80.000 files in a few hours. I added some waits to not get flagged by some system, but not sure if needed.
As a dide note, not sure why but the number of "total" files did not constantly decrease although new files were returned every iteraration. It only seems to be an "visual" issue, files get constantly deleted.
While this script isn't copy + paste + run, you can adopt it to your needs and also easily translate it in other languages :) I actually did run this as a Android integration test.
You'll get the Bearer token by visiting creativecloud.adobe.com and then looking through the browser's