WorkOS · Schema

CreatePasswordResetDto

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
token string The password reset token.
new_password string The new password to set for the user.
View JSON Schema on GitHub

JSON Schema

workos-createpasswordresetdto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePasswordResetDto",
  "title": "CreatePasswordResetDto",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The password reset token.",
      "example": "Z1Y2X3W4V5U6T7S8R9Q0P1O2N3"
    },
    "new_password": {
      "type": "string",
      "description": "The new password to set for the user.",
      "example": "strong_password_123!"
    }
  },
  "required": [
    "token",
    "new_password"
  ]
}