# TENANT.DROP

> Remove a tenant from the tenant registry; the data stays.

URL: https://docs.hotkv.com/commands/tenant-drop/

```
TENANT.DROP id
```

- Group: Tenancy
- Complexity: O(1)
- HotKV Cloud: Scale plan
- 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

| 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

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

## Compatibility

HotKV-only command.

## See also

[TENANT.CREATE](https://docs.hotkv.com/commands/tenant-create/index.md), [TENANT.LIST](https://docs.hotkv.com/commands/tenant-list/index.md)