SuperTokens · Schema

RemoveSessionsRequest

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
sessionHandles array List of session handles to revoke
userId string Remove all sessions for this user
View JSON Schema on GitHub

JSON Schema

supertokens-removesessionsrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RemoveSessionsRequest",
  "title": "RemoveSessionsRequest",
  "type": "object",
  "properties": {
    "sessionHandles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of session handles to revoke"
    },
    "userId": {
      "type": "string",
      "description": "Remove all sessions for this user"
    }
  }
}