B2B Saas Authentication

/

API reference

/

Passwords

/

Reset Options

/

Require Password reset by email

Delete Member password

POSThttps://test.stytch.com/v1/b2b/passwords/email/require_reset

Require a password be reset by the associated email address. This endpoint is only functional for cross-org password use cases.


Body parameters


email_address*string

member_idstring

organization_idstring

Header parameters


X-Stytch-Member-Sessionstring

X-Stytch-Member-SessionJWTstring

Response fields


status_codeint

member_idstring

memberobject

organizationobject
curl --request POST \
  --url https://test.stytch.com/v1/b2b/passwords/email/require_reset \
  -u 'PROJECT_ID:SECRET' \
  -H 'Content-Type: application/json' \
  -H "X-Stytch-Member-Session: mZAYn5aLEqKUlZ_Ad9U_fWr38GaAQ1oFAhT8ds245v7Q" \
  -d '{
    "email_address": "sandbox@stytch.com"
  }'

RESPONSE

200
{
  "status_code": 200,
  "member_id": "member-test-32fc5024-9c09-4da3-bd2e-c9ce4da9375f",
  "member": {...},
  "organization": {...}
}