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
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsExternalDataSourcesDisableCdcCreate()