# libtmux.Server.suspend_client

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L961
- **Page:** https://libtmux.org/reference/py/libtmux-server-suspend_client/

```
libtmux.Server.suspend_client(self, target_client: str | None = None) -> None
```

Suspend a client via ``$ tmux suspend-client``.

Requires an attached client.

## Parameters

- `self`
- `target_client` (str | None) — Target client (``-t`` flag).

## Example

```python
>>> with control_mode() as ctl:
...     server.suspend_client()
```
