Hi DRay,
Thanks for referring me to the PATCH /datamodels/{datamodelId}/schema/datasets/{datasetId} endpoint.
With that endpoint, can we switch the connection of the datamodel to the existing one?
When using the following body payload, the endpoint created a new connection named SnowflakeJDBC -Snowflake..., and the datamodel is connecting to it instead of the existing connection named Snowflake (as shown in the attached screenshot).
{
"name": "Snowflake",
"type": "live",
"connection": {
"provider": "SnowflakeJDBC",
"parameters": {},
"schema": "null",
"fileName": "null",
"uiParams": {},
"globalTableConfigOptions": {}
}
}
![]()