Delete groups

async AsyncCogniteClient.iam.groups.delete(
id: int | Sequence[int],
) None

Delete one or more groups.

Parameters:

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

Example

Delete group:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> client.iam.groups.delete(1)