From 555bf217b95ec14f05f7cd835fc67bab72546e99 Mon Sep 17 00:00:00 2001 From: Naoki Kanatani Date: Sat, 28 Aug 2021 11:30:03 +0900 Subject: [PATCH] Add `archived` parameter --- page.go | 1 + 1 file changed, 1 insertion(+) diff --git a/page.go b/page.go index a2d82b3..67bf8aa 100644 --- a/page.go +++ b/page.go @@ -46,6 +46,7 @@ func (pc *PageClient) Create(ctx context.Context, requestBody *PageCreateRequest type PageUpdateRequest struct { Properties Properties `json:"properties"` + Archived bool `json:"archived"` } // Update https://developers.notion.com/reference/patch-page