Logo
MicroStrategy REST API API Documentation

Test a datasource connection. Either provide a connection id, or the connection parameters

POST {{baseUrl}}/api/datasources/connections/test

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'baseUrl/api/datasources/connections/test' -H 'X-MSTR-AuthToken: authToken' -H 'Content-Type: application/json' -d '{"id":"rd_datasourceConnectionId","connectionString":"","database":{"type":"sql_server"}}'

ENDPOINTS