Add analytics extension connection to site

POST {{baseUrl}}/api/-/settings/site/extensions/analytics/connections

Adds an analytics extensions connection for an external service to a site.

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

Permissions: This method can only be called by users with server or site administrator permissions. Permissions Overview

License: No additional license required.

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

Request Body

{"connection_luid"=>"<string>", "host"=>"<string>", "port"=>"<integer>", "is_auth_enabled"=>"<boolean>", "username"=>"<string>", "password"=>"<string>", "is_ssl_enabled"=>"<boolean>", "connection_brief"=>{"connection_name"=>"<string>", "connection_type"=>"TABPY"}}

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: Created

{&quot;connectionMetadataList&quot;:[{&quot;connection_luid&quot;:&quot;\u003cstring\u003e&quot;,&quot;connection_brief&quot;:{&quot;connection_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;connection_type&quot;:&quot;UNDEFINED&quot;}},{&quot;connection_luid&quot;:&quot;\u003cstring\u003e&quot;,&quot;connection_brief&quot;:{&quot;connection_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;connection_type&quot;:&quot;TABPY&quot;}}]}