Update a data source
properties to change the schema. See Update data source properties for request bodies and Property schemas for each type’s settings.
Parent changes
Setparent.database_id to move the data source to another database. Existing views in the original database become linked views. Notion creates a table view in the destination database. See Views for the view API.
How data sources property type changes work
Changing a property’s type changes how Notion reads its existing values. Some values cannot be read in the new type. Test the conversion before applying it to data you need. The Name property (title) cannot be removed or converted. Other properties cannot become title. You can add or rename a Place property, but you cannot convert a property to or from place. Synced data sources have additional restrictions.
Interacting with data source rows
This endpoint changes the schema for all pages in the data source. To change one page’s values, use Update page. To add a page, use Create page.Recommended data source schema size limit
Keep the schema within 50 KB. Schema updates that are too large returnvalidation_error. The error identifies the largest property by name, ID, and byte size so you can reduce it.
Large option lists and long property descriptions contribute to schema size. Remove unused settings or shorten descriptions before retrying.
Access and errors
The connection needs update content capabilities and access to the data source. Relations and rollups also need access to the related database. A missing data source or missing access returns404. See Status codes for other errors.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
2026-03-11 Path Parameters
ID of a Notion data source.
Body
Title of data source as it appears in Notion.
100- Text
- Mention
- Equation
Data source icon.
- File Upload
- Emoji
- External
- Custom Emoji
- Icon
The property schema of the data source. The keys are property names or IDs, and the values are property configuration objects. Properties set to null will be removed.
Whether the data source should be moved to or from the trash. If not provided, the trash status will not be updated.
The parent of the data source, when moving it to a different database. If not provided, the parent will not be updated.