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.DROP

Last updated
TENANT.DROP id
Group
Tenancy
Complexity
O(1)
Arity
2 (exactly, counting the command name)
Flags
admin, write
HotKV Cloud
Scale
On-Premise
requires the multi-tenancy license feature

TENANT.DROP removes a tenant, with its quota values and user bindings, from the registry on every node. Keys and other data stored for the tenant are not deleted; remove them yourself if you need to.

Case RESP2 RESP3
Dropped Integer 1 Integer 1
No such tenant Integer 0 Integer 0

Without a license that includes multi-tenancy, the reply is NOLICENSE multi-tenancy requires a HotKV license. Contact sales@hotkv.com.

127.0.0.1:6379> TENANT.DROP acme
(integer) 1
127.0.0.1:6379> TENANT.DROP acme
(integer) 0

HotKV-only command.

TENANT.CREATE, TENANT.LIST