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

# Logout All

Logout from all sessions by revoking all refresh tokens for the current user.

Requires a valid access token. After calling this endpoint, all existing refresh tokens for the user are invalidated. Clients should also discard any locally stored access tokens.

```json
{"openapi":"3.1.0","info":{"title":"Ibexa Agentic Marketing Platform","version":"0.1.0"},"security":[{"OAuth2PasswordBearer":[]}],"components":{"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/login/access-token"}}}}},"paths":{"/api/v1/logout/all":{"post":{"tags":["login","public"],"summary":"Logout All","description":"Logout from all sessions by revoking all refresh tokens for the current user.\n\nRequires a valid access token. After calling this endpoint, all existing refresh\ntokens for the user are invalidated. Clients should also discard any locally\nstored access tokens.","operationId":"login-logout_all","responses":{"204":{"description":"Successful Response"},"401":{"description":"User not authenticated","content":{"application/json":{}}},"403":{"description":"User lacks permission","content":{"application/json":{}}}}}}}}
```
