---
title: "List Ownerless Tenants"
method: GET
path: "/tenants/ownerless"
tags: ["tenants"]
---

# List Ownerless Tenants

`GET /tenants/ownerless`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/tenants/ownerless`
- Auth: none declared

Tenants with nobody holding the `owner` realm role — plus any whose
status could not be established.

An ownerless tenant is operationally indistinguishable from a healthy one:
require_owner assumes an owner exists, gate.check_access grants setup mode
only to an owner, and the stalled report resolves its contact column the
same way. So a licensed tenant without one has a setup wizard nobody can
reach and a report with no address, and nothing anywhere says so (SSO-24).

Rows whose status is `unknown` are included on purpose: during a Keycloak
outage the honest answer is "could not check", and hiding those would make
a quiet report look like a clean one.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- OwnerlessTenantOut[]
  - `id` string, uuid, required
  - `name` string, required
  - `workspace_id` string, uuid, nullable
  - `kc_group_id` string, nullable
  - `licenses` OwnerlessLicenceOut[]
    - `app` string, required
    - `status` string, required
  - `blocking` boolean
  - `owner_status` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
