Delete

async AsyncCogniteClient.transformations.external_data_sources.delete(
external_id: str | SequenceNotStr[str],
) None

Delete external data sources.

Transformations that still reference a deleted data source fail when they next run.

Parameters:

external_id (str | SequenceNotStr[str]) – External ID or list of external IDs of the data source(s) to delete. Unknown external IDs are not silently ignored; the endpoint does not support an ignore-unknown-ids option.

Examples

Delete data sources by external ID:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.transformations.external_data_sources.delete(
...     ["fabric-lakehouse-prod", "fabric-lakehouse-staging"]
... )