Method Signature
Parameters
string
required
The ID of the page to update (with or without dashes).
object
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.object | null
Update the page icon. Set to
null to remove the icon.object | null
Update the page cover. Set to
null to remove the cover.boolean
Whether the page should be locked from editing in the Notion app UI.
object
Apply a template to the page.
boolean
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.
boolean
Whether to archive or unarchive the page.
boolean
Whether to move the page to trash or restore it from trash.
string
Bearer token for authentication. Overrides the client-level authentication.
Response
string
Always
"page"string
The ID of the updated page
string
ISO 8601 timestamp when the page was created
string
ISO 8601 timestamp when the page was last edited (updated after this operation)
boolean
Whether the page is archived
boolean
Whether the page is in trash
boolean
Whether the page is locked from editing
string
The URL of the Notion page
string | null
The public URL if published to the web
object
Information about the page’s parent
object
Updated property values of the page
object | null
Page icon
object | null
Page cover image
object
User who created the page
object
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