x-csrf-token header.
List Active Sessions
Retrieve all active sessions for your account, ordered newest first. Each session entry includes its public ID and timestamps you can display in a “Devices” or “Active Sessions” UI.Endpoint
Example Request
Success Response — 200 OK
array
Revoke a Specific Session
Revoke any single session by its public ID. If the revoked session happens to be the one making the request, the server also clears the session cookie in the response.Endpoint
Path Parameter
string
required
The
public_id of the session to revoke, e.g. ses_01H. Obtain this from the GET /auth/sessions response.Example Request
Success Response — 204 No Content
The session is revoked. No response body is returned.
Error Responses
Revoke All Other Sessions
Sign out from every active session except the current one. This is the “sign out from all other devices” action.Endpoint
Example Request
Success Response — 200 OK
Error Responses
Related Endpoints
Logout
Revoke only the current session and clear your cookie.
Password Reset
Reset your password — this also revokes all sessions automatically.