---
title: "Upsert Connection"
method: PUT
path: "/api/snowflake/connection"
tags: ["snowflake"]
---

# Upsert Connection

`PUT /api/snowflake/connection`

Create or update the organization's Snowflake connection.

## Request body

- QuadrillionCloudApiRoutersSnowflakeConnectionRequest — Org-admin configuration for the tenant's Snowflake account.
  - `account_identifier` string, required
  - `oauth_client_id` string, required
  - `oauth_client_secret` string, nullable
  - `oauth_redirect_uri` string, required
  - `role` string, required
  - `warehouse` string, nullable
  - `default_database` string, nullable
  - `default_schema` string, nullable

## Response `200`

Successful Response

- QuadrillionCloudApiRoutersSnowflakeConnectionResponse — Non-secret view of a Snowflake connection.
  - `configured` boolean, required
  - `account_identifier` string, nullable
  - `account_host` string, nullable
  - `oauth_client_id` string, nullable
  - `oauth_redirect_uri` string, nullable
  - `has_client_secret` boolean
  - `role` string, nullable
  - `warehouse` string, nullable
  - `default_database` string, nullable
  - `default_schema` string, nullable
  - `disabled` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-25** `7c2c045c836c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/snowflake/connection/put.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/f4de1bab5efb/schema)
