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