# tmux.Server.UnbindKey

- **Module:** tmux.Server
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_keys.go#L103
- **Page:** https://libtmux.org/reference/go/tmux-server-unbindkey/

```
tmux.Server.UnbindKey(ctx: context.Context, request: UnbindKeyRequest) -> error
```

UnbindKey removes one key binding or every binding in a key table. Key and AllKeys must select exactly one target; cancellation does not prove removal did not occur.
