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

# POST /logout

> Delete the current browser session in LightShip. The next request without a valid session cookie or Bearer key is rejected.

`POST /logout` deletes the current browser session. After this call the session cookie is no longer valid, and the caller must sign in again to reach any authenticated route.

## Endpoint

```text theme={null}
POST http://localhost:8080/logout
```

Authentication: session cookie.

## Example

```bash theme={null}
curl -X POST http://localhost:8080/logout -b cookies.txt
```

<Info>
  Logout does not revoke API keys. Manage keys through the [API Keys](/api-reference/identity/keys) endpoints.
</Info>
