Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

TENANT.LIST

Last updated
TENANT.LIST
Group
Tenancy
Complexity
O(N) where N is the number of tenants
Arity
1 (exactly, counting the command name)
Flags
admin, read-only, fast
HotKV Cloud
Scale
On-Premise
requires the multi-tenancy license feature

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

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.

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

HotKV-only command.

TENANT.INFO, TENANT.CREATE