# libtmux::Server::unbind_key

- **Module:** libtmux::Server
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/server.hpp#L347
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-server-unbind_key/

```
libtmux::Server::unbind_key(table: std::string_view, key: std::string_view) -> expected< void, CommandFailure >
```

Unbinding a key that was not bound succeeds; unbinding in a table that does not exist is refused.

A table exists only while something is bound in it, so taking away the last binding takes the table with it.
