Delete simulator routines

async AsyncCogniteClient.simulators.routines.delete(
ids: int | Sequence[int] | None = None,
external_ids: str | SequenceNotStr[str] | None = None,
) None

Delete simulator routines

Parameters:
  • ids (int | Sequence[int] | None) – ids (or sequence of ids) for the routine(s) to delete.

  • external_ids (str | SequenceNotStr[str] | SequenceNotStr[str] | None) – external ids (or sequence of external ids) for the routine(s) to delete.

Examples

Delete simulator routines by id or external id:
>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.simulators.routines.delete(ids=[1, 2, 3], external_ids="foo")