Skip to main content
The API does not support permanently deleting pages.
To trash a page via the API, send an Update page request with the in_trash body param set to true. To restore a page from the trash, set in_trash to false.
archived was removed in 2026-03-11In API versions before 2026-03-11, archived was a deprecated alias for in_trash. Starting with 2026-03-11, only in_trash is accepted. If your connection uses an older API version and still sends archived, update to in_trash before upgrading.

Example request: trash a Notion page

If you are using Notion’s JavaScript SDK to interact with the REST API, use the update method available for Notion pages.
If successful, the API responds with a 200 HTTP status code and the trashed page object, as in the following example:
Refer to the error codes documentation for possible errors.

Example request: restore a Notion page

If successful, the API responds with a 200 HTTP status code and the restored page object. Refer to the error codes documentation for possible errors.