Generate a Reset Password Token

POST {{baseUrl}}/api/v1/users/:userId/lifecycle/reset_password?sendEmail=true

Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.

Request Params

KeyDatatypeRequiredDescription
sendEmailboolean(Required)
revokeSessionsbooleanWhen set to true (and the session is a user session), all user sessions are revoked except the current session.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"resetPasswordUrl":"anim ea sed laborum"}