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

Last updated
TENANT.UNBIND tenant-id username
Group
Tenancy
Complexity
O(N) where N is the number of users bound to the tenant
Arity
3 (exactly, counting the command name)
Flags
admin, write
HotKV Cloud
Scale
On-Premise
requires the multi-tenancy license feature

TENANT.UNBIND removes a user name from a tenant’s list of users, on every node. It undoes TENANT.BIND.

Case RESP2 RESP3
The user was bound and is now removed Integer 1 Integer 1
No such tenant, or the user was not bound 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.UNBIND acme acme-app
(integer) 1
127.0.0.1:6379> TENANT.UNBIND acme acme-app
(integer) 0

HotKV-only command.

TENANT.BIND, TENANT.INFO