Notion
Update Notion Database
Rename a Notion database or add, rename, change or remove its columns. Send only the changed column definitions; null removes a column and its values.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| databaseIdstring · required | string | required | — |
| titlestring · optional | string | optional | New title; leave blank to retain the current title. |
| propertiesobject · optional | object | optional | Add: {"Email":{"email":{}}}; rename: {"Old":{"name":"New"}}; remove: {"Email":null}. Removing a column removes its values. |
Response schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "array",
"items": {
"type": "object"
}
},
"object": {
"type": "string"
},
"properties": {
"type": "object"
}
}
}