Sources

Update a saved query

Changed on

Changes a saved query; fields left out stay as they were. 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.

patch/v1/sources/sql/{connectionId}/saved-queries/{queryId}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

connectionId, string uuid required

Source connection UUID.

queryId, string uuid required

Saved query UUID.

Request body

object required
name, string
sql_text, string

The query.

description, string

Response

The saved query after the change.

SqlSavedQuery required
id, string uuid
source_connection_id, string uuid
name, string
description, string nullable
sql_text, string
created_at, string date-time
updated_at, string date-time

Changes