PATCH
/
api
/
v1
/
sources
/
{id}
/
update-config
/
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
pk
integer
required

ID of the source to update

Body

application/json

Response

200
application/json

The response is of type object.