notion.updatepagepropertiesprops
Home > @runlightyear/notion > UpdatePagePropertiesProps
UpdatePagePropertiesProps interface
Signature:interface UpdatePagePropertiesProps
Required Properties
Property | Modifiers | Type | Description |
---|---|---|---|
pageId | NotionId | The identifier for the Notion page to be updated. |
Optional Properties
Property | Modifiers | Type | Description |
---|---|---|---|
archived? | boolean | Whether the page is archived (deleted). Set to true to archive a page. Set to false to un-archive (restore) a page. | |
cover? | ExternalFile | A cover image for the page. Only external file objects are supported. | |
icon? | ExternalFile | Emoji | A page icon for the page. Supported types are external file object or emoji object. | |
properties? | PagePropertiesInput | The property values to update for the page. The keys are the names or IDs of the property and the values are property values. If a page property ID is not included, then it is not changed. |