Delete revisions

async AsyncCogniteClient.three_d.revisions.delete(
model_id: int,
id: int | Sequence[int],
) None

Delete 3d model revisions.

Parameters:
  • model_id (int) – Delete the revision under the model with this id.

  • id (int | Sequence[int]) – ID or list of IDs to delete.

Example

Delete 3d model revision by id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.three_d.revisions.delete(model_id=1, id=1)