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 auth_context: The current authentication context

Returns: The updated source connection

Path parameters

source_connection_idstringRequired

Headers

X-API-KeystringOptional
X-Organization-IDstringOptional

Request

This endpoint expects an object.
namestringOptional>=4 characters<=42 characters
Name of the source connection
descriptionstringOptional
auth_fieldsmap from strings to any or stringOptional
config_fieldsmap from strings to anyOptional
Config values model. Implements "flat dictionary" semantics, where no values are dictionaries.
cron_schedulestringOptional
connection_idstringOptionalformat: "uuid"
white_label_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
descriptionstring or null
config_fieldsmap from strings to any or null
Config values model. Implements "flat dictionary" semantics, where no values are dictionaries.
white_label_idstring or nullformat: "uuid"
sync_idstring or nullformat: "uuid"
connection_idstring or nullformat: "uuid"
created_by_emailstring or nullformat: "email"
modified_by_emailstring or nullformat: "email"
auth_fieldsmap from strings to any or string or null
statusenum or null
Source connection status enum.
Allowed values:
latest_sync_job_statusenum or null
Sync job status enum.
latest_sync_job_idstring or nullformat: "uuid"
latest_sync_job_started_atdatetime or null
latest_sync_job_completed_atdatetime or null
latest_sync_job_errorstring or null
cron_schedulestring or null
next_scheduled_rundatetime or null

Errors