Error
A valid request URL is required to generate request examples{
"results": {
"action": "create"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Projects
Upsert external connection as code
Create or update a data-app external connection from its code
representation. Enterprise only; requires the manage ExternalConnection
permission. The body nests the document under connection; the optional
secret rides alongside it and is never part of the YAML document.
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
code
/
externalConnections
/
{slug}
Error
A valid request URL is required to generate request examples{
"results": {
"action": "create"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}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.
Was this page helpful?