Hi team,
Is there a way to bulk remove prismic documents by uid? I have got 200 documents in a specific locale that need to be removed/archived, search and remove in prismic documents will take a long time.
Can I achieve this by using any existing prismic API? I know we have something like this for removing slice and custom type.
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
1 Like