---
search:
  tags:
    - Tenants
    - GET
seo:
  description: >-
    Returns the tenants of an environment, in order of name. Name the
    environment in parent. Only… Reference for the GET /_luna/tenants endpoint
    in the Luna API.
sidebar:
  label: List tenants
  badge: GET
title: List tenants
type: openapi-operation
---
Returns the tenants of an environment, in order of name. Name the environment in `parent`. Only a key that reaches every tenant can leave it out.

`GET /_luna/tenants`

**Responses**

- `200` — A page of tenants.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "tenants": [
    {
      "name": "string",
      "version": 0,
      "default": true,
      "url": "string",
      "labels": {
        "property1": "string",
        "property2": "string"
      }
    }
  ],
  "cursor": "string"
}
```
