String. Required. Name of the connection configuration.
Connection configuration
ThoughtSpot supports multiple configurations per connection feature allowing developers to define and manage several distinct connection configurations under a single data connection object in ThoughtSpot. This is currently supported for Snowflake, Databricks, and BigQuery.
Connection Configuration APIs🔗
The connection configuration API endpoints allow you to create, edit, delete, and search connection configuration for an existing data connection on a ThoughtSpot instance.
Required permissions🔗
You must have data management permissions to create, search, update, and delete connection configuration objects. Make sure your user account has the DATAMANAGEMENT
privilege.
If Role-Based Access Control (RBAC) is enabled on your ThoughtSpot cluster, the CAN_CREATE_OR_EDIT_CONNECTIONS
(Can create/edit Connections) privilege is required.
Create connection configuration🔗
To create a connection configuration to an existing data connection object in ThoughtSpot, send a POST
request to the
POST /api/rest/2.0/connection-configurations/create
API endpoint.
Request parameters🔗
In your POST
request body, include the following parameters:
Parameter | Description |
---|---|
| |
| String. Optional. Description of the connection configuration. |
| String. Required. Unique ID of the connection for which the configuration will be created. |
| String. Optional. Type of authentication used for the connection. Default value is |
| String. Required. A JSON map of the connection configuration attributes. For example, |
| String. Optional. Policy type in connection configuration APIs determines how a specific configuration is assigned and used. Default value is
|
| String. Required when the |
| String. Required when the
|
Search a connection configuration🔗
To create a connection configuration to an existing data connection object in ThoughtSpot, send a POST
request to the POST /api/rest/2.0/connection-configurations/search
API endpoint.
Request parameters🔗
In your POST
request body, include the following parameters:
Parameter | Description |
---|---|
| String. Required. Unique ID of the connection. To get a list of all configurations available in the ThoughtSpot system, send the API request with only the connection name or GUID in the request body. |
| String. Optional. Unique ID of the configuration. Specify the configuration object name or GUID to fetch the details for it. |
| String. Optional. The type of policy associated with the configuration object. |
Update a connection configuration🔗
To update an existing connection configuration in ThoughtSpot, send a POST
request to the POST /api/rest/2.0/connection-configurations/{configuration_identifier}/update
API endpoint.
Request parameters🔗
In your POST
request body, include the following parameters:
Parameter | Description |
---|---|
| String. Required. Unique ID of the configuration to be updated. |
| String. Required. Unique ID of the connection object. |
| String. Optional. The name of the configuration. |
| String. Optional. The description for the configuration. |
| String. Optional. Type of authentication used for the connection. |
| String. Optional. The type of policy associated with the configuration object. |
| Boolean. Optional. Indicates whether a configuration is enabled or disabled. |
| String. Required when the |
| String. Required when the |
Delete connection configuration🔗
To delete an existing connection configuration from ThoughtSpot, send a POST
request to the POST /api/rest/2.0/connection-configurations/delete
API endpoint.
Request parameters🔗
In your POST
request body, include the following parameters:
Parameter | Description |
---|---|
| String. Required. Unique ID of the configuration to be deleted. |
| String. Required. Unique ID of the connection object for the configuration to be deleted. |