# LibTmux.TmuxKeys.UnbindAsync

- **Module:** LibTmux.TmuxKeys
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Keys/TmuxKeys.cs#L41
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxkeys-unbindasync/

```
LibTmux.TmuxKeys.UnbindAsync(request: UnbindKeyRequest, cancellationToken: CancellationToken) -> Task
```

Removes a binding, or every binding in a table.

Removing a binding nobody made is not an error: tmux treats the
absence as the state that was asked for.

## Parameters

- `request` (UnbindKeyRequest): Which key, or every key in a table.
- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

A task that completes once the binding is gone.

## Raises

- `ArgumentNullException`: <paramref name="request" /> is null.
- `ArgumentException`: The request names no key and does not ask for all.
