provider B2B Passwords POST /v1/b2b/passwords/email/require_reset
@utdk/stytch /v1/b2b/passwords/email/require_reset
Requirereset
Require a password be reset by the associated email address. This endpoint is only functional for cross-org password use cases. If there are is only one active Member using the associated email address in the Project, the password will be deleted.
X-Stytch-Member-Session header
A Stytch session that can be used to run the request with the given member's permissions.
string
X-Stytch-Member-SessionJWT header
A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.
string

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.

apiB2bPasswordV1B2bPasswordsEmailRequirereset
POST/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. If there are is only one active Member using the associated email address in the Project, the password will be deleted.

Input

required

The email address of the Member to start the email reset process for.

Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.

Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiB2bPasswordV1B2bPasswordsEmailRequirereset()