# Server.unsetOption(_:scope:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Options.swift#L173
- **Page:** https://libtmux.org/reference/swift/server-unsetoption(_-scope-)/

```
Server.unsetOption(_:scope:)(name: String, scope: OptionScope) -> TmuxReply
```

Puts an option back the way it was before anyone set it.

What that means depends on the option. A user option — `@`-prefixed,
which tmux never interprets — is deleted outright and stops being
listed. One of tmux's own reverts to its built-in default, so it is
still listed, carrying a value nobody chose.

Unsetting a name nothing was set to succeeds and changes nothing.

## Raises

- `TmuxError`
