Skip to main content
POST
/
postgresgateway
/
byids
Python SDK
res = client.postgres_gateway.users.retrieve("myUser", ignore_unknown_ids=True)
{
  "items": [
    {
      "username": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "sessionId": 4503599627370496
    }
  ]
}

Authorizations

Authorization
string
header
required

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.

Body

application/json
items
object[]
required
Required array length: 1 - 10 elements
ignoreUnknownIds
boolean

Ignore usernames that are not found

Response

List of users retrieved by their usernames

items
Items · object[]
required
Last modified on April 23, 2026