Delete security categories

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

Delete one or more security categories.

Deprecated since version 8.23.0: The Security Categories API is deprecated and is scheduled for removal on 2027-12-31. Replace security categories with data products and granular access control. See https://docs.cognite.com/cdf/deprecated for details and migration guidance.

Parameters:

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

Example

Delete security category:

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