List Databases

List the users that are associated with a specific tenant.

List Users Request
cURL
GET- /workspaces/:workspaceSlug/databases/:databaseName/tenants/:tenantId/users
curl 'https://api.thenile.dev/workspaces/<string>/databases/<string>/users' \
--header 'Authorization: Bearer <string>'

The response includes all information for users associated with the tenant.

List Users Response
200
[
  {
    "id": "018b6243-6e8b-7082-9ceb-dcfb7b49d818",
    "tenants": [
      "018b61ec-af9e-77e5-b27f-77239cd4a0bc"
    ],
    "email": "an.important.user@mail.tld",
    "name": "Important User",
    "givenName": null,
    "familyName": null,
    "picture": null
  }
]