Path: / admin / realms / {realm} / users / {username} / reset-password-email

Send an email to the user with a link they can click to reset their password. The redirectUri and clientId parameters are optional. The default for the redirect is the account application.

Path parameters:
realm - realm name (not id!)
username - username (not id!)

Resource Methods
Method Summary
NameDescription
PUT /admin/realms/{realm}/users/{username}/reset-password-email?redirect_uri=…&client_id=…Send an email to the user with a link they can click to reset their password.

Method Detail

PUT /admin/realms/{realm}/users/{username}/reset-password-email

Send an email to the user with a link they can click to reset their password. The redirectUri and clientId parameters are optional. The default for the redirect is the account application.

HTTP Example:
PUT /admin/realms/{realm}/users/{username}/reset-password-email?redirect_uri=…&client_id=…
API Example:

UsersResource.resetPasswordEmail({'redirect_uri': /* redirectUri redirect uri */,
  'client_id': /* clientId client id */,
  'realm': /* name realm name (not id!) */,
  'username': /* username username (not id!) */});

Output:
Response -
Query parameters:
redirect_uri - redirect uri
client_id - client id
Consumes:
application/json