New: build custom CDF applications with Cognite Flows. Documentation · What's new.
user_list = client.postgres_gateway.users.list(limit=5)
for user in client.postgres_gateway.users:
user # do something with the user
for user_list in client.postgres_gateway.users(chunk_size=25):
user_list # do something with the users{
"items": [
{
"username": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"sessionId": 4503599627370496
}
],
"nextCursor": "<string>"
}List all postgres users for a given project. If more than limit users exist, a cursor for pagination will be returned with the response.
user_list = client.postgres_gateway.users.list(limit=5)
for user in client.postgres_gateway.users:
user # do something with the user
for user_list in client.postgres_gateway.users(chunk_size=25):
user_list # do something with the users{
"items": [
{
"username": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"sessionId": 4503599627370496
}
],
"nextCursor": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Was this page helpful?