Delete job

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

Delete one or more jobs.

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

Examples

Delete jobs by external id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.hosted_extractors.jobs.delete(["myMQTTJob", "MyEventHubJob"])