Hello @patrickzsy
Thanks for reaching out to us.
It's not directly possible to delete documents by UID. But, You can create collections of documents and add tag documents to make a filter on the dashboard. I have attached both articles to achieve this.
After this, you can make your filter based on collections and tags and use the bulk delete feature.
I hope it helps.
Thanks,
Priyanka