Skip to main content
POST
/
api
/
migration
/
infrastructure-config
/
test-connection
Test a specific Airflow connection
curl --request POST \
  --url https://api.example.com/api/migration/infrastructure-config/test-connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "conn_id": "<string>",
  "conn_type": "generic"
}
'
{
  "ok": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
conn_id
string
required
conn_type
string
default:generic

Response

Successful Response

ok
boolean
required
message
string
required