# TENANT.UNBIND

> Remove an ACL user from a tenant's list of users.

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

```
TENANT.UNBIND tenant-id username
```

- Group: Tenancy
- Complexity: O(N) where N is the number of users bound to the tenant
- HotKV Cloud: Scale plan
- 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](https://docs.hotkv.com/commands/tenant-bind/index.md).

## 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

```
127.0.0.1:6379> TENANT.UNBIND acme acme-app
(integer) 1
127.0.0.1:6379> TENANT.UNBIND acme acme-app
(integer) 0
```

## Compatibility

HotKV-only command.

## See also

[TENANT.BIND](https://docs.hotkv.com/commands/tenant-bind/index.md), [TENANT.INFO](https://docs.hotkv.com/commands/tenant-info/index.md)