Forum Discussion
Harikrishan2806
Apr 28, 2025Copper Contributor
Is it possible to update list datatype (from string to date) via API call?
I've tried with requests library and it is not working.
1 Reply
Sort By
- michalkornetIron Contributor
Hi Harikrishan2806 , you can do it using this endpoint
MERGE request and SchemaXml property.
{"SchemaXml":"<Field DisplayName='COLUMN_NAME' FriendlyDisplayFormat='Disabled' Format='DateOnly' IsModern='TRUE' Name='COLUMN_NAME' Title='COLUMN_NAME' Type='DateTime'></Field>"}