PowerBI API Rest API for updating the Datasource ID?
I'm working on a project that requires updating the data source ID for a dataset in Power BI, and I understand that this can be achieved using the Power BI REST API. Specifically, I need to understand how to authenticate, access, and utilize the correct API endpoints to update the data source ID efficiently without manual intervention through the Power BI interface.
Is there a step-by-step guide or best practices on using the REST API for this task? If so, I’d appreciate guidance on setting up authentication, finding the data source ID, and executing the API calls to automate this update process.