set Page Archived
Archives or unarchives a page. Archived pages are not deleted but are hidden from the Notion UI. They can be unarchived later using this method with archived = false.
Return
The updated Page object
Parameters
id
The unique identifier of the page to archive/unarchive
archived
Whether to archive (true) or unarchive (false) the page
See also
Throws
Notion Api Exception
if the page doesn't exist or the API request fails