SuperTokens · Schema

ResetPasswordRequest

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
method string
token string
newPassword string
View JSON Schema on GitHub

JSON Schema

supertokens-resetpasswordrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResetPasswordRequest",
  "title": "ResetPasswordRequest",
  "type": "object",
  "required": [
    "method",
    "token",
    "newPassword"
  ],
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "token"
      ]
    },
    "token": {
      "type": "string"
    },
    "newPassword": {
      "type": "string",
      "format": "password"
    }
  }
}