TENANT.UNBIND
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.
Return value
Section titled “Return value”| 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.
Examples
Section titled “Examples”127.0.0.1:6379> TENANT.UNBIND acme acme-app(integer) 1127.0.0.1:6379> TENANT.UNBIND acme acme-app(integer) 0Compatibility
Section titled “Compatibility”HotKV-only command.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.