Patch Schema Field
Edits a single field on a schema, creating an override for a detected field if needed.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
connection_id
Connection holding the schema
schema_id
Schema identifier
field_id
Field identifier within the schema
Headers
X-Polytomic-Version
Request
This endpoint expects an object.
definition
Detailed type of the field, such as “bigint” or [“decimal”, {“precision”: 10, “scale”: 2}]; it must be consistent with the field’s type.
example
Sample value surfaced in the UI
label
Human-readable label for the field
path
JSONPath used to extract the field from each source record; only meaningful for document-style backends. Pass an empty string to clear an existing path.
type
One of: string, number, boolean, datetime, array, object, binary. Changing the type without supplying a matching definition clears any prior detailed type metadata.
Response
OK
data
The updated schema field
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
