---
title: "Update the sample connection settings for an organization"
method: PATCH
path: "/v2/organizations/settings/sampleConnections"
tags: ["Organizations"]
---

# Update the sample connection settings for an organization

`PATCH /v2/organizations/settings/sampleConnections`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/organizations/settings/sampleConnections`
- Auth: HTTP bearer

Enable or disable the sample connections for the organization.


### Usage notes
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
- To read or update these settings for a tenant organization, use [impersonation](/docs/impersonate-users) to obtain a token for that tenant, then call this endpoint with that token.

## Request body

- object
  - `enableSnowflake` boolean: Enable or disable the Snowflake sample connection if it exists for the organization.
  - `enableDatabricks` boolean: Enable or disable the Databricks sample connection if it exists for the organization.

## Response `200`

The response body.

- OrganizationsUpdateSampleConnectionSettingsResponse200
  - `enableSnowflake` boolean, required: Enable or disable the Snowflake sample connection if it exists for the organization.
  - `enableDatabricks` boolean, required: Enable or disable the Databricks sample connection if it exists for the organization.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
