Skip to main content
Version: 7.2.X

revokeSession(sessionHandle)

Parameters#

  • userId
    • type: String

Returns#

  • Promise<boolean>
    • true if session was deleted from the database
    • false in case there was nothing to delete.
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react