Update Model
Updates a model's configuration.
Authentication
AuthorizationBasic
This is the Polytomic deployment key (on-premises only)
OR
AuthorizationBearer
This is the Polytomic API key
Path parameters
id
Model ID
Headers
X-Polytomic-Version
Query parameters
async
Run in the background and return a job instead of the result.
Request
This endpoint expects an object.
configuration
Model configuration for the source connection type
connection_id
Connection ID of the model's source, which cannot be changed after the model is created
name
Model name
additional_fields
User-defined fields to add to the model alongside its source fields
enricher
Enrichment to apply to the model
fields
Technical/source field names to publish in the model. Use source names, not model-field UUIDs or display labels. For example, use dealname rather than Deal Name. Omit or pass an empty array to publish all standard source fields.
identifier
Source field name of the model's unique identifier
organization_id
Ignored for user and organization-scoped API keys, which always act in their own organization
policies
Permissions policy IDs applied to the model. On update, a non-empty list replaces the model’s policies and an empty or omitted list leaves them unchanged.
refresh
Whether to refresh the enricher's fields and example values
relations
Joins from this model's fields to fields on other models
tracking_columns
Source field names used to detect changed records
labelsDeprecated
Deprecated; ignored
Response
OK
data
The model
job
Background job running the request when async is true
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
