Add possibility to delete DB Pages. Chose Methode Delete, Put in DB Page ID and action. Or set page property archived to true
My use case:
I have some Datasources which will be imported in Notion. For example GMail and Gcal. I want to check if in Source the Entry still exist and if not it should be deleted from Notion DB
I think it would be beneficial to add this because:
As there already the possibility to Get, Create and Update a DB Page it make sense to add a method Delete for DBPage
Any resources to support this?
Are you willing to work on this?
I think my current skills regarding Javascript or typescript not so well. But if there is nobody else I can give it a try.
You have not missed anything, The Notion API itself is still in Beta so while the Node is ok it is worth adding the beta part as Notion could change something with their API.
Yeah the v2 node is released, When you go to use the Notion node it will automatically use the v2 version. In this case if you wanted to delete a page you would use the Archive option which is what Notion call it.
I have just taken a quick look and it looks like it is under Page > Archive, It is a bit confusing as it will do Database Pages or Pages depending on the URL or ID you put in.
I have just given it a quick run to make sure it still works on a database page and it looks to be all good and should result in this…