Update a datasource connection

PATCH {{baseUrl}}/api/datasources/connections/:id?fields=Excepteur Lorem

Update a datasource connection.

Request Params

KeyDatatypeRequiredDescription
fieldsstringComma separated top-level field whitelist. This allows client to selectively retrieve part of the response model. If specified, extra filtering will be applied, and for top-level object (if root model is an array, each array element), only the listed fields will be kept in the response. e.g. "id,elements" means to keep only the "id" field and the whole "elements" array field, omitting all other fields of top-level response model.

Request Body

{"operationList"=>[{"op"=>"addElements", "path"=>"/charEncodingWindows", "value"=>{}}, {"op"=>"removeElements", "path"=>"/charEncodingWindows", "value"=>{}}]}

HEADERS

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

RESPONSES

status: OK

{"name":"fugiat ut quis","id":"in enim","description":"labore est dolor","acg":36112950,"executionMode":"synchronous","maxCancelAttemptTime":60,"maxQueryExeTime":0,"maxConnectionAttemptTime":60,"connectionLifetime":36000,"connectionIdleTimeout":60000,"charEncodingWindows":"multibyte","charEncodingUnix":"utf8","tablePrefix":"pariatur quis sint","connectionString":"officia","parameterizedQueries":false,"extendedFetch":false,"database":{"type":"search_engine","version":"oracle_8003","connection":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"primaryDatasource":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"dataMartDatasource":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"driverType":"odbc","oauthParameter":"sunt culpa exercitation amet"}