API-patch-page
Update Notion page properties efficiently using this tool. Modify titles, icons, covers, or restore/delete pages via API integration for streamlined workspace management.
Instructions
Notion | Update page properties
Input Schema
Name | Required | Description | Default |
---|---|---|---|
archived | No | ||
cover | No | A cover image for the page. Only [external file objects](https://developers.notion.com/reference/file-object) are supported. | |
icon | No | A page icon for the page. Supported types are [external file object](https://developers.notion.com/reference/file-object) or [emoji object](https://developers.notion.com/reference/emoji-object). | |
in_trash | No | Set to true to delete a block. Set to false to restore a block. | |
page_id | Yes | The identifier for the Notion page to be updated. | |
properties | No | 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. |
Input Schema (JSON Schema)
{
"$defs": {},
"properties": {
"archived": {
"type": "boolean"
},
"cover": {
"additionalProperties": false,
"description": "A cover image for the page. Only [external file objects](https://developers.notion.com/reference/file-object) are supported.",
"properties": {
"external": {
"additionalProperties": false,
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"enum": [
"external"
],
"type": "string"
}
},
"required": [
"external"
],
"type": "object"
},
"icon": {
"additionalProperties": false,
"description": "A page icon for the page. Supported types are [external file object](https://developers.notion.com/reference/file-object) or [emoji object](https://developers.notion.com/reference/emoji-object).",
"properties": {
"emoji": {
"type": "string"
}
},
"required": [
"emoji"
],
"type": "object"
},
"in_trash": {
"default": false,
"description": "Set to true to delete a block. Set to false to restore a block.",
"type": "boolean"
},
"page_id": {
"description": "The identifier for the Notion page to be updated.",
"type": "string"
},
"properties": {
"additionalProperties": false,
"description": "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.",
"properties": {
"title": {
"items": {
"additionalProperties": false,
"properties": {
"text": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"link": {
"type": [
"object",
"null"
]
}
},
"required": [
"content"
],
"type": "object"
},
"type": {
"enum": [
"text"
],
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"type": "array"
},
"type": {
"enum": [
"title"
],
"type": "string"
}
},
"required": [
"title"
],
"type": "object"
}
},
"required": [
"page_id"
],
"type": "object"
}