> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/api-logout.md).

# /logout

Logs the browser that sends the request out of the web app and redirects it. Served at the server root (`/logout`) — **not** under `/api/v1`. The web app sends the browser here to log out; see [OAuth2](/for-developers/api/oauth2.md#logging-out-the-browser-logout) for how it fits the token flows.

The request needs no access token: the browser is identified by its `fylr-browser-id` cookie.

### `GET /logout` — Log the browser out and redirect.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/logout" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-c66962d021f9281075604517b7590deaf0d3f984%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
