cURL
curl --request PATCH \ --url https://api.camelai.com/api/v1/sources/{id}/update-config/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "account_name": "<string>", "hostname": "<string>", "port": 123, "username": "<string>", "password": "<string>", "database_name": "<string>", "connection_string": "<string>", "service_account_key": "<any>", "token": "<string>", "host": "<string>", "database": "<string>", "account": "<string>", "user": "<string>", "public_key": "<string>", "selected_schemas": [ "<string>" ] }'
{ "id": 123, "account_name": "<string>", "type": "<string>" }
Update configuration for any type of data source. The required fields depend on the connection type.
JWT or API key authentication using Bearer scheme
ID of the source to update
The response is of type object.
object
Was this page helpful?