---
title: "get all users assigned to the given tenant"
method: GET
path: "/api/v1/tenants/{id}/users"
tags: ["tenant"]
---

# get all users assigned to the given tenant

`GET /api/v1/tenants/{id}/users`

This can only be done by a logged in user who has the required privileges.

## Path parameters

- `id` string, required

## Response `200`

List of all users who are members of the given organization

- UserObject[]
  - `id` string — User Id
  - `username` string, required — Username as an email address
  - `firstname` string, required — firstname
  - `lastname` string, required — lastname
  - `status` 'ACTIVE' | 'PENDING' | 'DISABLED'
  - `tenant` string
  - `roles` Role[]
    - `id` string
    - `name` string
    - `permissions` Permissions[]
    - `scope` string
    - `createdAt` string
    - `updatedAt` string
    - `isGlobal` boolean
    - `description` string
  - `permissions` Permissions[]
  - `confirmed` boolean — true, if the confirmation link/email has been triggered
  - `img` string — url to user image

---

[API](https://skmtc.net/openintegrationhub/apis/iam-api-for-oih.md) · [All operations](https://skmtc.net/openintegrationhub/apis/iam-api-for-oih/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openintegrationhub/iam-api-for-oih/versions/016871a170fd/schema)
