PATCH /v1/data_sources/{data_source_id}. Your connection needs access to the data source and update content capabilities.
Add a property
Add a new key toproperties and provide the type’s settings. This example adds a number and a date property. Existing properties that you omit stay unchanged.
Request body
Remove a property
Set the property entry tonull. This removes the column for all pages in the data source. To clear a value on one page instead, use Update page.
Rename a property
Setname on the existing entry. Its ID stays the same. Prefer the ID if another user might rename the property while your connection is running.
description, include it beside the type’s settings. Omit description to keep the current one, or send null to clear it.
Update property type
Supply the new type’s settings under the existing name or ID.Change Estimate to a number
Select configuration updates
Setselect.options to the complete list of options you want to keep. Omitted options are removed. New names add options. Omitting options keeps the current list.
Keep High and add Medium
Existing select options
Use an existing option’sid or name to retain it. Names match without regard to case or surrounding spaces, so high keeps the existing High option. A retained option keeps its ID and name. You can update its color and description. Omitting either keeps the current value, and null clears the description. The API does not rename existing options; rename them in Notion. New options accept name, optional color, and optional description. See Option fields.
Multi-select configuration updates
Setmulti_select.options using the same rules as select. Include every option to retain. This changes the available tags, not the tags selected on one page.
Keep High and add Launch
Existing multi-select options
Existing options follow the same ID, name, color, and description rules.Status configuration updates
Setstatus.options to the complete list to retain. Use group to place an option in To-do, In progress, or Complete.
Keep In progress and add Shipped
Existing status options
Existing options follow the same ID, name, color, and description rules. When you omitgroup, an existing option keeps its group. A new option uses To-do if that group exists, or the first existing group otherwise.
Removed options are also removed from their groups. To rename, reorder, or change the groups themselves, use Notion. To select an option on a page, write the page’s status value.