Skip to main content
POST
Error

Path Parameters

projectUuid
string
required
slug
string
required

Query Parameters

force
boolean

Body

application/json

Deliberately a flat wrapper, NOT ExternalConnectionAsCode & { secret }: TSOA validates intersection bodies in remove-extras mode, which empties Record<string, string> fields (customHeaders). Same workaround as ApiTestExternalConnectionConfigRequest.

connection
object
required

Portable document for an external connection, stored as lightdash/external-connections/<slug>.yml. Never carries the secret — uploads resolve it from the LIGHTDASH_EXTERNAL_CONNECTION_SECRET_ environment variable on the CLI side.

secret
string

Resolved by the CLI from LIGHTDASH_EXTERNAL_CONNECTION_SECRET_ at upload time. Omitted = leave any stored secret unchanged.

Response

Success

results
object
required
status
enum<string>
required
Available options:
ok