# How to reset user password in keycloak using REST API

**URL:** <https://forum.keycloak.org/t/how-to-reset-user-password-in-keycloak-using-rest-api/3210>\
**Category:** Getting advice\
**Created:** [June 8, 2020, 8:00pm UTC](https://forum.keycloak.org/t/how-to-reset-user-password-in-keycloak-using-rest-api/3210 "2020-06-08T20:00:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![divya](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@divya](https://forum.keycloak.org/u/divya)\
**Post date:** [September 6, 2021, 7:25am UTC](https://forum.keycloak.org/t/how-to-reset-user-password-in-keycloak-using-rest-api/3210/3 "2021-09-06T07:25:26Z")

</div>

I have followed the same steps but still I am getting 500 error. I do not understand what I am doing wrong. Do I need to configure anything. Please help.

Here is a link of the post I have already posted earlier:

> [@Getting 500 on execute-actions-email API](http://forum.keycloak.org/t/getting-500-on-execute-actions-email-api/10871):
>
> Details of the API are as follows: API: https://{servername:port}/auth/admin/realms/{realm}/users/{userId}/execute-actions-email Request body: [“UPDATE\_PASSWORD”] Screenshot of the error is attached as below: [failed send email] Please help me. Thanks in advance.

Thanks in advance.

---

_[View the full topic](https://forum.keycloak.org/t/how-to-reset-user-password-in-keycloak-using-rest-api/3210)._
