POST
/
team
/
{team_id}
/
connections
/
{connection_id}
/
files

Supported file types

This endpoint is used for uploading SSL certificates for PostgreSQL and MySQL connections.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

team_id
string
required

ID of the team

connection_id
string
required

ID of the connection

Body

multipart/form-data
sslCa
file

SSL CA certificate file

sslCert
file

SSL certificate file

sslKey
file

SSL key file

Response

200 - application/json
id
integer
team_id
integer
project_ids
string[]
oauth_id
string
name
string
type
enum<string>
Available options:
mongodb,
api,
mysql,
postgres,
realtimedb,
firestore,
googleAnalytics,
customerio
subType
enum<string>

Used for connections based on main types

Available options:
timescaledb,
supabasedb,
rdsPostgres,
rdsMysql,
api,
mongodb,
api,
mysql,
postgres,
realtimedb,
firestore,
googleAnalytics,
customerio
active
boolean
default: true
host
string
dbName
string
port
string
username
string
password
string
srv
boolean
default: false
options
object
connectionString
string

Used for MongoDB, Postgres, and MySQL connections

authentication
object

Used for API connections

firebaseServiceAccount
object

JSON object containing the Firebase service account credentials

ssl
boolean
default: false
sslMode
string
default: require
sslCa
string
sslCert
string
sslKey
string
schema
object