# TENANT.LIST

> List the IDs of all tenants.

URL: https://docs.hotkv.com/commands/tenant-list/

```
TENANT.LIST
```

- Group: Tenancy
- Complexity: O(N) where N is the number of tenants
- HotKV Cloud: Scale plan
- On-Premise: requires the multi-tenancy license feature

`TENANT.LIST` returns the ID of every tenant in the registry. The order is
not defined.

## Return value

Array of bulk strings in RESP2 and RESP3 (empty when there are no tenants).
Without a license that includes `multi-tenancy`:
`NOLICENSE multi-tenancy requires a HotKV license. Contact sales@hotkv.com`.

## Examples

```
127.0.0.1:6379> TENANT.LIST
1) "acme"
2) "globex"
```

## Compatibility

HotKV-only command.

## See also

[TENANT.INFO](https://docs.hotkv.com/commands/tenant-info/index.md), [TENANT.CREATE](https://docs.hotkv.com/commands/tenant-create/index.md)