LoguDocs
Open Logu

Sign-in · revokeOtherSessions

Sign out your other sessions

POST /api/auth/sessions/revoke-others

Every session but this one.

Who may call it
Anyone (no credentials)
Server
https://api.logu.dev

Example#

curl -s -X POST "https://api.logu.dev/api/auth/sessions/revoke-others" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

How many were signed out.

{
  "revoked": 2
}
Response fields
FieldTypeRequiredNotes
revokedintegerrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
500internal_errorSomething went wrong on Logu's side.