File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ The `DatasourceItem` for the data source that was added or appended to.
570570datasource.update(datasource_item)
571571```
572572
573- Updates the owner, or project of the specified data source.
573+ Updates the owner or project of the specified data source. Data source name cannot be updated.
574574
575575REST API: [ Update Datasource] ( https://onlinehelp.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#update_data_source ) {: target ="_ blank"}
576576
@@ -605,7 +605,7 @@ An updated `DatasourceItem`.
605605 datasource = server.datasources.get_by_id(' 1a2a3b4b-5c6c-7d8d-9e0e-1f2f3a4a5b6b' )
606606
607607# do some updating
608- datasource.name = ' New Name '
608+ datasource.owner_id = ' New Owner ID '
609609
610610# call the update method with the data source item
611611 updated_datasource = server.datasources.update(datasource)
You can’t perform that action at this time.
0 commit comments