Delete spaces
- async AsyncCogniteClient.data_modeling.spaces.delete(
- spaces: str | SequenceNotStr[str],
-
- Parameters:
spaces (str | SequenceNotStr[str]) – ID or ID list ids of spaces.
- Returns:
The space(s) which has been deleted.
- Return type:
list[str]
Examples
Delete spaces by id:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> client.data_modeling.spaces.delete(spaces=["mySpace", "myOtherSpace"])