Update analytics extension for workbook

PUT {{baseUrl}}/api/-/settings/site/extensions/analytics/workbooks/:workbook_luid/selected_connection

Updates the analytics extension connection to external service currently used by a workbook.

Version: Available in API 3.11 (Tableau Cloud March 2021 / Server 2021.1) and later. Versioning Overview

Permissions: This method can be called by users that have permissions to the specified workbook. Permissions Overview

License: No additional license required.

Access Scope: Not available.
Access Scopes Overview: Cloud | Server-Windows | Server-Linux

Request Body

{"workbook_luid"=>"<string>", "connection_luid"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Tableau-AuthstringThe Tableau authentication header. The value is a credentials token from a Tableau server's response to an authentication request.
The Content-Type and Accept headers should be the mediatype of the request and response except in cases where you want to explicitly allow other versions of the resource.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;workbook_luid&quot;:&quot;\u003cstring\u003e&quot;,&quot;connection_luid&quot;:&quot;\u003cstring\u003e&quot;}