OriginChainDB
Database endpoints

List users

Lists the tenant's database users with their authentication method, roles and number of API keys.

GET /v1/tenants/{tenant}/db/users

Review database users without exposing secretsKey counts are returned, not the key values.
  1. List database usersRequest accounts in the selected tenant.
  2. Review authentication and rolesCheck each user's method and access assignments.
  3. Inspect account statusRead disabled state and API-key count.

Before you start

Use your database bearer token.

Connection setup

Use an identity authorized to manage access in this tenant.

Path parameters

FieldTypeRequired
tenantstringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

Each user shows its roles, disabled state and api_key_count. The response counts keys without returning their secret values.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
429Honor Retry-After when present; back off.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd