Revoke All Sessions
Sign out everywhere (`keep_current: false`, the default; this browser's refresh cookie is cleared) or every other session (`keep_current: true`). Every access token issued so far stops at once (a kept session gets a new one from `/auth/refresh`), and connected apps (OAuth) are signed out too.
API key access
/api/v1/auth/sessions/revoke-allAccess token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).
In: header
Keep this browser's session ("sign out other sessions"); false signs out everywhere.
falseResponse Body
curl -X POST "http://localhost:8000/api/v1/auth/sessions/revoke-all" \ -H "Content-Type: application/json" \ -d '{}'{
"revoked": 0,
"current_revoked": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Refresh
Rotate the refresh cookie and return a new access token. Presenting an already-used refresh token revokes every token from that login.
Revoke Session
Sign one session out (its refresh-token family is revoked; its access tokens stop at once). Signing out the current session also clears the refresh cookie.