⚠️ typecannot be changed here — there's notypefield on this request. A property created as Text stays Text forever; changing its type requires deleting and recreating it (see Delete Contact Property for the soft-delete details and data-loss implications).
curl --location --request PUT 'https://api.voxa.sa/v1/contact-property-definitions/id' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Status3",
"isRequired": true,
"selectOptions": [
{
"value": "Lead",
"color": "#FF5733"
},
{
"value": "Customer",
"color": "#33FF57"
},
{
"value": "VIP",
"color": "#5733FF"
},
{
"value": "Churned",
"color": "#888888"
}
]
}'{
"workspaceId": "string",
"name": "string",
"key": "string",
"type": 0,
"isRequired": true,
"selectOptions": [
"string"
],
"lastModificationTime": "string",
"lastModifierId": "string",
"creationTime": "string",
"creatorId": "string",
"id": "string"
}