Unable to change field type using API


#1

I am unable to change the type of a field using the API.

I am using the PUT endpoint on PUT /xearch/_schema/{table_name}/{field_name} replaceXearchField() - Update field type from string to integer as follows:

{
  "label":  "Test 5",
  "type":  "integer"
} 

The error message that I am receiving is