---
title: "List tenant users"
method: GET
path: "/workspaces/{workspaceSlug}/databases/{databaseName}/tenants/{tenantId}/users"
tags: ["users"]
---

# List tenant users

`GET /workspaces/{workspaceSlug}/databases/{databaseName}/tenants/{tenantId}/users`

## Request

- Base URL: `https://global.thenile.dev`
- URL: `https://global.thenile.dev/workspaces/{workspaceSlug}/databases/{databaseName}/tenants/{tenantId}/users`
- Auth: HTTP bearer

Lists users that are associated with the specified tenant.

## Path parameters

- `workspaceSlug` string, required
- `databaseName` string, required
- `tenantId` string, required

## Response `200`

Users found

- User[]
  - `id` string
  - `tenants` string[]
  - `email` string
  - `name` string
  - `givenName` string
  - `familyName` string
  - `picture` string
  - `created` string, date-time
  - `updated` string, date-time

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/thenile/apis/nile-rest-api.md) · [All operations](https://skmtc.dev/thenile/apis/nile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thenile/apis/nile-rest-api/revisions/afe849f2aeec?raw)
