Python SDK - modify a datasource
I am looking for a way to programmatically change a number of datasources.
I searched through the API v3. documentation but couldn’t find any way. There are some calls to get information from datasources, but none to change them.
I was expecting to find something like “patch_datasource_by_id”.
Any ideas?
@Stuart Weenig -- The ‘forceUniqueIdentifier’ param is to force the change/update of ‘useWildValueAsUUID’. So like how the checkbox is disabled in the UI once you commit and save that setting:You can bypass that via the API with the param ‘forceUniqueIdentifier’:
You also need that key param as well. This is considered destructive and should be used with caution. 😬
@Javier -- But yeah you can leverage the API to update DataSources, but it’s not documented and considered unsupported at this time.