Method Signature
Parameters
The ID of the page to update (with or without dashes).
Property values to update. Only include properties you want to change.Each property value is keyed by the property name or ID and includes a
type field.Update the page icon. Set to
null to remove the icon.Update the page cover. Set to
null to remove the cover.Whether the page should be locked from editing in the Notion app UI.
Apply a template to the page.
Whether to erase all existing content from the page. When used with a template, the template content replaces the existing content. When used without a template, simply clears the page content.
Whether to archive or unarchive the page.
Whether to move the page to trash or restore it from trash.
Bearer token for authentication. Overrides the client-level authentication.
Response
Always
"page"The ID of the updated page
ISO 8601 timestamp when the page was created
ISO 8601 timestamp when the page was last edited (updated after this operation)
Whether the page is archived
Whether the page is in trash
Whether the page is locked from editing
The URL of the Notion page
The public URL if published to the web
Information about the page’s parent
Updated property values of the page
Page icon
Page cover image
User who created the page
User who last edited the page
Examples
Update a Single Property
Update Multiple Properties
Clear a Property Value
Update Page Icon and Cover
Archive a Page
Move to Trash
Restore from Trash
Lock a Page
Update with External URL Icon
Remove Icon and Cover
Batch Update with Error Handling
Important Notes
Only properties that are explicitly included in the
properties object will be updated. Other properties remain unchanged.Related Methods
- pages.retrieve - Retrieve an existing page
- pages.create - Create a new page
- pages.move - Move a page to a different location