---
title: "Update SQL settings"
method: PATCH
path: "/v1/sources/sql/{connectionId}/config"
tags: ["Sources"]
---

# Update SQL settings

`PATCH /v1/sources/sql/{connectionId}/config`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/sources/sql/{connectionId}/config`
- Auth: HTTP bearer

Changes the settings of a SQL connection. Fields left out stay as they were. The connection string cannot be changed; delete the connection and connect again. The answer is the connection when something changed, else `{ "ok": true }`. Allowed to the person who connected it, or a member with the Integrations permission; a personal connection only to the person who connected it.

**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.

## Path parameters

- `connectionId` string, uuid, required

## Request body

- object
  - `name` string: New display name.

## Response `200`

The connection after the change, or `{ "ok": true }` when the body changed nothing.

- union
  - SourceConnection
    - `id` string, uuid, required
    - `customer_id` string, uuid
    - `type` string, required: Connector type, e.g. `s3`, `gmail`, `google_drive`, `sql`.
    - `status` 'active' | 'revoked', required
    - `name` string, required
    - `config` object: Connector settings.
    - `sync_status` 'idle' | 'queued' | 'syncing' | 'error'
    - `sync_error` string, nullable
    - `last_synced_at` string, date-time, nullable
    - `sync_interval` 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
    - `sync_scope` object, nullable
    - `document_count` integer
    - `connected_by` string, uuid, nullable: The person who connected it.
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - object
    - `ok` boolean

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-28** `4e388563ca5a`: 1 warning
  - removed the request property `dedicated_egress`
- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/sources/sql/:connectionId/config/patch.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
