Delete feature types

async AsyncCogniteClient.geospatial.delete_feature_types(
external_id: str | SequenceNotStr[str],
recursive: bool = False,
) None

Delete one or more feature type.

Parameters:
  • external_id (str | SequenceNotStr[str]) – External ID or list of external ids

  • recursive (bool) – if true the features will also be dropped

Examples

Delete feature type definitions external id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.geospatial.delete_feature_types(external_id=["wells", "cities"])