Delete datapoint subscription
- async AsyncCogniteClient.time_series.subscriptions.delete(
- external_id: str | SequenceNotStr[str],
- ignore_unknown_ids: bool = False,
-
This operation cannot be undone.
- Parameters:
external_id (str | SequenceNotStr[str]) – External ID or list of external IDs of subscriptions to delete.
ignore_unknown_ids (bool) – Whether to ignore IDs and external IDs that are not found rather than throw an exception.
Examples
Delete a subscription by external ID:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> client.time_series.subscriptions.delete("my_subscription")