Is there any way to use self reset password widget?

Is there any way to use self reset password widget?
How can I reset users password by generated ticket using your API or some another way (not password reset widget)?
We would like to avoid redirecting of action for resetting password to your host.
If you have another options, please provide them to us.

The Update a user endpoint in the Management API v2 supports setting a user’s password:

If you are going to use the above method, I highly suggestion using a similar flow to the default Auth0 flow, where an email is sent to the user, which will then redirect to your change password page with some form of verification (possibly a JWT, similar to what is outlined in our Invite only flow).

Note, our recommended approach is to use our built-in Change Password flow (including the Auth0 hosted password reset widget).