---
title: "Get all users in a tenant"
method: GET
path: "/v1/tenants/{tenantId}/users"
tags: ["Tenants"]
---

# Get all users in a tenant

`GET /v1/tenants/{tenantId}/users`

## Request

- Base URL: `https://api.tetrascience.com`
- URL: `https://api.tetrascience.com/v1/tenants/{tenantId}/users`
- Auth: API key in header `ts-auth-token` and API key in header `x-org-slug`

Get all users in a tenant, needs to be org or system admin.

## Query parameters

- `email` string

## Parameters

- `#/paths/~1v1~1tenants~1{tenantId}/get/parameters/0` (unresolved $ref)

## Response `200`

Successful

- object[]
  - `id` Id (unresolved $ref)
  - `firstName` string
  - `lastName` string
  - `email` Email (unresolved $ref)
  - `status` 'active' | 'inactive'

## Other responses

- `401`: Invalid token
- `403`: Caller is not authorized to perform this action

---

[API](https://skmtc.dev/tetrascience/apis/administration.md) - [All operations](https://skmtc.dev/tetrascience/apis/administration/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrascience/apis/administration/revisions/c1c829febcc5?raw)
