Delete Workflows

async AsyncCogniteClient.workflows.delete(
external_id: str | SequenceNotStr[str],
ignore_unknown_ids: bool = False,
) None

Delete one or more workflows with versions.

Parameters:
  • external_id (str | SequenceNotStr[str]) – External id or list of external ids to delete.

  • ignore_unknown_ids (bool) – Ignore external ids that are not found rather than throw an exception.

Examples

Delete workflow with external_id “my_workflow”:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.workflows.delete("my_workflow")