Convert for a database source (only for embedded)

POST {{baseUrl}}/api/datasources/:id/conversion

Convert connection string from DSN to DSN-less format connection string for a specific database source. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You specify the database source ID in the path of the request; you obtain the database source ID using GET /datasources. You check if it's embedded connection inside this datasource. If not, you need to use POST {{baseUrl}}/api/datasources/connections/:id/conversion for the standalone datasource connection.

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
Content-Typestring