Forum Discussion
Dan2
Helper I
8 years agoHow to update the datasource target odata url using the powerbi rest api
We currently deploy the same dashboard to multiple environments, (ie, dev, test, prod). These dashboards all pull from an odata api so the URL for the target data willl change for each environment. S...
- 8 years ago
So after reformatting I was able to successfully change the api url. Below is the example for anyone doing this.
{
"updateDetails":[
{
"connectionDetails":
{
"url":"https://dev.mydomain.com/yourdirectory/odata"
},
"datasourceType": "OData"
}
]
}
Dan2
Helper I
8 years agoSo after reformatting I was able to successfully change the api url. Below is the example for anyone doing this.
{
"updateDetails":[
{
"connectionDetails":
{
"url":"https://dev.mydomain.com/yourdirectory/odata"
},
"datasourceType": "OData"
}
]
}