Update Source Connection

Update a source connection.

Args: db: The database session source_connection_id: The ID of the source connection to update source_connection_in: The updated source connection data user: The current user

Returns: The updated source connection

Path parameters

source_connection_idstringRequired

Headers

x-api-keystringRequired

Request

This endpoint expects an object.
namestringOptional>=4 characters<=42 characters

Name of the source connection

descriptionstringOptional
auth_fieldsmap from strings to anyOptional

Config values model.

Implements “flat dictionary” semantics, where no values are dictionaries.

config_fieldsmap from strings to anyOptional

Config values model.

Implements “flat dictionary” semantics, where no values are dictionaries.

cron_schedulestringOptional
connection_idstringOptionalformat: "uuid"

Response

Successful Response

namestring>=4 characters<=42 characters

Name of the source connection

short_namestring
idstringformat: "uuid"
organization_idstringformat: "uuid"
created_atdatetime
modified_atdatetime
collectionstring
created_by_emailstringformat: "email"
modified_by_emailstringformat: "email"
descriptionstringOptional
config_fieldsmap from strings to anyOptional

Config values model.

Implements “flat dictionary” semantics, where no values are dictionaries.

sync_idstringOptionalformat: "uuid"
connection_idstringOptionalformat: "uuid"
auth_fieldsmap from strings to any or stringOptional
statusenumOptional

Source connection status enum.

Allowed values:
latest_sync_job_statusenumOptional

Sync job status enum.

Allowed values:
latest_sync_job_idstringOptionalformat: "uuid"
latest_sync_job_started_atdatetimeOptional
latest_sync_job_completed_atdatetimeOptional
cron_schedulestringOptional
next_scheduled_rundatetimeOptional

Errors