> For the complete documentation index, see [llms.txt](https://th-trader.gitbook.io/th-trader-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/authentication-and-authorization/post-logout.md). Agents can also search and read this documentation through its [MCP server](https://th-trader.gitbook.io/th-trader-docs/~gitbook/mcp).

# POST Logout

```
POST https://main.thtrader.app/dxsca-web/logout
```

For clients authenticated with [basic authentication](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/authentication-and-authorization/post-create-session-token.md) explicitly expires the authorization token

In case the client has authorization token created for [basic authentication](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/authentication-and-authorization/post-create-session-token.md) and does not plan to use the TH Trader API anymore it is recommended to explicitly expire authorization token to free up system resources.

```
Empty request 

Authorization header should be included in case of basic authentication
```
