I am able to accomplish this at scale by taking over the datasets that need to be updated and then using the same API mentioned above.
However, specifying the gateway data source ID to map to doesn’t do anything. This leaves an extra step to do manually.
Are you able to update this as well somehow?