Skip to content

Commit

Permalink
Add archived parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kanata2 authored and jomei committed Aug 28, 2021
1 parent 9bf74b2 commit 555bf21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions page.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 555bf21

Please sign in to comment.