Loading...
Was this page helpful?
This documentation provides a reference to the sdk.auth.resetPassword
method used to send requests to Medusa's Authentication API routes. It can be used for admin users, customers, or custom actor types.
This method requests a reset password token for an admin user, customer, or custom actor type. It sends a request to the Generate Reset Password Token API route.
To reset the password later using the token delivered to the user, use the updateProvider method.
Related guide: How to allow customers to reset their passwords in a storefront.
actor
stringuser
for admin user, or customer
for customer.provider
stringemailpass
.body
objectPromise
Promise<void>