Delete destinations

async AsyncCogniteClient.hosted_extractors.destinations.delete(
external_ids: str | SequenceNotStr[str],
ignore_unknown_ids: bool = False,
force: bool = False,
) None

Delete one or more destinations.

Parameters:
  • external_ids (str | SequenceNotStr[str]) – The external ID provided by the client. Must be unique for the resource type.

  • ignore_unknown_ids (bool) – Ignore external IDs that are not found

  • force (bool) – Delete any jobs associated with each item.

Examples

Delete destinations by id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.hosted_extractors.destinations.delete(["myDest", "MyDest2"])