Skip to main content

notion.updatepagepropertiesprops

Home > @runlightyear/notion > UpdatePagePropertiesProps

UpdatePagePropertiesProps interface

Signature:
interface UpdatePagePropertiesProps 

Required Properties

PropertyModifiersTypeDescription
pageIdNotionIdThe identifier for the Notion page to be updated.

Optional Properties

PropertyModifiersTypeDescription
archived?booleanWhether the page is archived (deleted). Set to true to archive a page. Set to false to un-archive (restore) a page.
cover?ExternalFileA cover image for the page. Only external file objects are supported.
icon?ExternalFile | EmojiA page icon for the page. Supported types are external file object or emoji object.
properties?PagePropertiesInputThe 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.