Skip to main content
PUT
/
destinations
/
{destination_id}
Update Existing Destination
curl --request PUT \
  --url https://api.streamkap.com/destinations/{destination_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "connector": "<string>",
  "config": {}
}
'
{
  "name": "<string>",
  "connector": "<string>",
  "id": "<string>",
  "connector_display_name": "<string>",
  "created_timestamp": "<string>",
  "sub_id": "<string>",
  "tenant_id": "<string>",
  "config": {},
  "topic_ids": [
    "<string>"
  ],
  "topic_map": {},
  "topics": [
    "<string>"
  ],
  "tasks": [
    123
  ],
  "connector_status": "<string>",
  "desired_state": "<string>",
  "task_statuses": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

destination_id
string | null
required

Query Parameters

secret_returned
boolean
default:false

Whether to include secret values in the response

wait
boolean
default:true

When False, save config and return immediately without waiting for KC update

Body

application/json

Request body for updating an existing destination connector.

name
string
required

Display name for the destination connector.

connector
string
required

Connector type identifier (e.g., 'snowflake', 'bigquery', 'clickhouse', 'postgresql', 's3').

config
Config · object
required

Connector-specific configuration properties using dot notation. Use the GET /destinations/connectors endpoint with a connector_code query parameter to retrieve the full configuration schema for a specific connector type.

Response

Successful Response

Destination connector configuration and status.

name
string | null

User-defined connector name

connector
string | null

Connector type (e.g., 'snowflake', 'bigquery', 'clickhouse')

id
string | null

Unique identifier

connector_display_name
string | null

Human-readable connector type name

created_timestamp

Creation timestamp (ISO 8601)

sub_id
string | null

Subscription identifier

tenant_id
string | null

Tenant identifier for multi-tenancy

config
Config · object

Connector configuration parameters

topic_ids
(string | integer)[] | null

List of associated topic identifiers

topic_map
Topic Map · object

Mapping of topics to their partitions or related entities

topics
(string | integer)[] | null

List of topic names

tasks
integer[] | null

List of task identifiers

connector_status
string | null

Current status: Active, Paused, Stopped, Broken, Starting, Unassigned, Unknown, Pending

desired_state
string | null

Desired state: Pending, Active, Paused, Stopped

task_statuses
Task Statuses · object

Status information for each connector task