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>"
}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?