provider B2B Passwords POST
/v1/b2b/passwords/session/reset @utdk/stytch
/v1/b2b/passwords/session/reset Reset
Reset the Member's password using their existing session. The endpoint will error if the session does not contain an authentication factor that has been issued within the last 5 minutes. Either `session_token` or `session_jwt` should be provided.
Note that a successful password reset via an existing session will revoke all active sessions for the `member_id`, except for the one used during the reset flow.
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiB2bPasswordV1B2bPasswordsSessionReset()