> For the complete documentation index, see [llms.txt](https://sway-technologies.gitbook.io/sway-charts-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sway-technologies.gitbook.io/sway-charts-api-documentation/rest-api-specification/authentication-and-authorization/post-logout.md).

# POST Logout

```
POST https://api.swaycharts.io/dxsca-web/logout
```

For clients authenticated with [basic authentication](/sway-charts-api-documentation/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](/sway-charts-api-documentation/rest-api-specification/authentication-and-authorization/post-create-session-token.md) and does not plan to use the Sway Charts 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
```
