App Logo
app.notion.com

Move a Notion page to the trash

Automatically move a Notion page to the trash on app.notion.com. Move a Notion page or database row to the trash, where it can be restored from for 30 days, or restore it from the trash with restore. Its sub-pages go with it. Returns whether the page is now in the trash, read back from Notion. Get page ids from search_pages or query_database.

Input

page required

Link to the Notion page or database row, or its id.

restore optional

True to bring the page back from the trash instead.

Default: false

Output

id required
title required
changed required

False when the page was already where it was asked to be.

inTrash required

Whether the page is in the trash now, read back from Notion.

FAQ

Move a Notion page or database row to the trash, where it can be restored from for 30 days, or restore it from the trash with restore. Its sub-pages go with it. Returns whether the page is now in the trash, read back from Notion. Get page ids from search_pages or query_database.
Ask an AI agent connected to Reduck to run reduck/app.notion.com/archive_page, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.notion.com/archive_page
You do not need one. "Move a Notion page to the trash" drives the real app.notion.com pages in a browser, so it works whether or not app.notion.com offers an API for this.
Required: page. Optional: restore.
It returns id, title, changed, inTrash.
Yes. It acts as you on app.notion.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the app.notion.com cookies saved by the Reduck extension.
It makes changes on app.notion.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/app.notion.com/archive_page, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.notion.com/archive_page
It is part of Reduck's official curated catalogue.

Start building not clicking