Skip to main content
DELETE
/
auth
/
sessions
Revoke all other sessions
curl --request DELETE \
  --url https://api.mnemom.ai/v1/auth/sessions \
  --cookie mnemom_session=
{
  "revoked": 123
}

Authorizations

mnemom_session
string
cookie
required

HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".

Headers

Idempotency-Key
string

Optional idempotency key; repeated calls with the same key return the same result within 24 hours.

Response

Number of sessions revoked.

revoked
integer
required

Count of sessions revoked (excludes the current session).