Skip Okta dashboard after user resetting the password through reset password Link

I’m using https://{domain}/api/v1/users/{userID}/lifecycle/reset_password?sendEmail=false above url for getting reset password link and when I’m loading it in browser I’m able to reset the password , however after resetting the password its redirecting to okta dashboard. I need to redirect to custom URL. It would be helpful if I get solution on this.

If you are using an Okta Classic Org the officially supported way is to set a default application,

It is also possible to use the query parameter fromURI in many cases.
Note that fromURI is not officially supported and the functionality could change at a later time.
Whatever URI you use make sure it is set as a trusted origin in your Okta Org.
so for,
make sure is setup as a redirect URI in trusted origins.