---
title: "get the tenant by id"
method: GET
path: "/api/v1/tenants/{id}"
tags: ["tenant"]
---

# get the tenant by id

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

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

- Tenant
  - `_id` string — id of tenant organization
  - `name` string, required — name of tenant organization
  - `status` 'ACTIVE' | 'PENDING' | 'DISABLED'
  - `confirmed` boolean — true, if the confirmation link/email has been triggered

## Changes

- **2022-01-12** `f7e163033f9c` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2021-09-17** `1134b4a506a5` — 4 warning, 4 info
  - removed the optional property `id` from the response with the `200` status
  - added the new `ACTIVE` enum value to the `status` response property for the response status `200`
  - added the new `DISABLED` enum value to the `status` response property for the response status `200`
  - added the new `PENDING` enum value to the `status` response property for the response status `200`
  - …4 more
- **2019-08-15** `42619b8ccbbe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih/changes/api/v1/tenants/:id/get.md)

---

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