POST
/
api
/
v1
/
sources
/
add
/
mssql
/
curl --request POST \
  --url https://api.camelai.com/api/v1/sources/add/mssql/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "mssql",
  "hostname": "localhost",
  "port": 1433,
  "username": "sa",
  "password": "Password123!",
  "database_name": "master"
}'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Serializer for Microsoft SQL Server connection configuration.

Response

200
application/json

The response is of type object.