Set Default value of my custom field

i want to create a custom field using API and set the default value “true” of my field. but i can’t
here is my payload..

{ "name": "sync_odoo", "label": "Sync Odoo", "description": "", "groupName": "contactinformation", "type": "bool", "fieldType": "booleancheckbox", "formField": True, "displayOrder": 2, "options": [ {"label": "Yes", "value": "true", "displayOrder": 1}, {"label": "No", "value": "false", "displayOrder": 2}, ],},

@ketulpatel12 as far as I am aware you can’t set a default value through the API. This is only possible through the UI directly unfortunately.

You would need to create this property via the API then edit the property through the UI to set a default value.