Sessions

Log out a session

Changed on

Log the logged in user out of another of their sessions. Devices keep working for up to 5 minutes afterwards, until the session cache in their cookie expires. Log out of the current session with better-auth's /api/auth/sign-out, and out of all others with /api/auth/revoke-other-sessions

delete/api/v1/sessions/{sessionId}

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/sessions/{sessionId}
  • Auth
    API key in cookie better-auth.session_token

Path parameters

sessionIdstring uuid required

Response

OK

successunknown required

Changes