> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuneplane.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tp logout

> Log out

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp logout
```

丢弃当前服务端的本地凭据，并在服务端吊销 refresh token。部署配了 Redis 的话，
access token 会立即失效，而不是等到自然过期。

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp logout --server https://tuneplane.other-team.com
```

同时登录了多套部署时，用它登出指定的那一套。

## `tp logout`

Log out

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp logout [options]
```

| 选项               | 说明                                                 |
| ---------------- | -------------------------------------------------- |
| `--server`, `-s` | Which TunePlane address (default: the current one) |
