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

Set up a temporary password for this user. User will have to reset this temporary password when they log in next.

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

Resource Methods
Method Summary
NameDescription
PUT /admin/realms/{realm}/users/{username}/reset-passwordSet up a temporary password for this user.

Method Detail

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

Set up a temporary password for this user. User will have to reset this temporary password when they log in next.

HTTP Example:
PUT /admin/realms/{realm}/users/{username}/reset-password
API Example:

UsersResource.resetPassword({'realm': /* name realm name (not id!) */,
  'username': /* username username (not id!) */,
  '$entity': /* pass temporary password */});

Input:
CredentialRepresentation - temporary password
Output:
void
Consumes:
application/json