Delete Postgres Gateway Users
- async AsyncCogniteClient.postgres_gateway.users.delete(
- username: str | SequenceNotStr[str],
- ignore_unknown_ids: bool = False,
-
Delete postgres users
- Parameters:
username (str | SequenceNotStr[str]) – Usernames of the users to delete.
ignore_unknown_ids (bool) – Ignore usernames that are not found
Examples
Delete users:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> client.postgres_gateway.users.delete(["myUser", "myUser2"])