provider external_data_sources POST /api/environments/{environment_id}/external_data_sources/{id}/disable_cdc/
@utdk/posthog /api/environments/{environment_id}/external_data_sources/{id}/disable_cdc/
environments_external_data_sources_disable_cdc_create
Disable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this external data source.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsExternalDataSourcesDisableCdcCreate
POST/api/environments/{environment_id}/external_data_sources/{id}/disable_cdc/
Disable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this external data source.

Input

required
required
required

How this source was created. Defaults to `api` on create when omitted. `web` for the in-app UI, `api` for direct API callers, `mcp` for agent/MCP tool calls. Ignored on update. * `web` - web * `api` - api * `mcp` - mcp

required
required
required
required
required
required

Whether this synced source is also live-queryable via direct connection. Defaults to true for new sources; ignored for pure direct-query sources.

required

Backend engine detected for the direct connection. * `duckdb` - duckdb * `postgres` - postgres * `mysql` - mysql * `snowflake` - snowflake

required
required
required
required

The effective access level the user has for this object

required
required

Whether this source supports per-column sync selection via `enabled_columns`.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsExternalDataSourcesDisableCdcCreate()