Post SetAllConnections
Request | Response
The Post SetAllConnections operation sets a data source connection string.
Note To call this operation, an app token or key is required. To learn more, see Authenticating and authorizing with Power BI Workspace Collections.
Request
Uri parameter
Name | Description |
---|---|
collectionName | The workspace collection name |
workspaceId | The workspace id |
datasetKey | The dataset key |
parameters | Takes an arbitrary input |
Body schema
{"connectionString":"data source=MyAzureDB.database.windows.net;initial catalog=Sample2;persist security info=True;encrypt=True;trustservercertificate=False"}
Response
Status code
Code | Description |
---|---|
200 | OK. Indicates success. An empty object is returned in the response body. |
Content-Type
application/json