diff --git a/notion_client/api_endpoints.py b/notion_client/api_endpoints.py index 7078a33..06408c9 100644 --- a/notion_client/api_endpoints.py +++ b/notion_client/api_endpoints.py @@ -232,7 +232,7 @@ def update(self, page_id: str, **kwargs: Any) -> SyncAsync[Any]: return self.parent.request( path=f"pages/{page_id}", method="PATCH", - body=pick(kwargs, "in_trash", "properties", "icon", "cover"), + body=pick(kwargs, "in_trash", "archived", "properties", "icon", "cover"), auth=kwargs.get("auth"), )