# Server.unsetOption(_:scope:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Options.swift#L192
- **Page:** https://libtmux.org/en/swift/latest/reference/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`
