# Kronos API | Can I unlock an account using the Kronos API?

**URL:** <https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266>\
**Category:** Elasticsearch\
**Created:** [July 21, 2022, 10:03am UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266 "2022-07-21T10:03:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavanknrhnk](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@pavanknrhnk](https://discuss.elastic.co/u/pavanknrhnk)\
**Post date:** [July 21, 2022, 10:03am UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266/1 "2022-07-21T10:03:31Z")

</div>

How can I unlock a locked account using the Kronos API?

I have checked the Timekeeping - Developer’s Toolkit API Reference Guide, and was not able to find anything for the following keywords: disable, locked, locked account, update account etc. specific to unlocking the account.

I am able to reset the password, but that is not enough to unlock an account.

All I am looking for is a xml code or a documentation that can help me solve my problem or a different method to unlock an account besides the standard procedure.

Please let me know if more information is required.

---

<div class="post-metadata">

**Author:** ![pavanknrhnk](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@pavanknrhnk](https://discuss.elastic.co/u/pavanknrhnk)\
**Post date:** [July 25, 2022, 12:21pm UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266/2 "2022-07-25T12:21:12Z")

</div>

The ability to unlock a user's account that has been persistently locked relies on resetting the inetUserStatus attribute to Active. When a user is persistently locked out, their user status (the inetUserStatus attribute) is changed to Inactive in the user store (both the attribute and status value are configurable).

See the [Unlocking a user's account (physical lockout)](https://backstage.forgerock.com/knowledge/kb/article/a14475110#physical) section for details on unlocking a user's account using the REST API.  
We have a large number of users "forget" their password, and I would like to create a tool to enable them to unlock & reset their accounts based on their authenticated AD logged in user for [kronos](https://hkrtrainings.com/kronos-outage). I don't see an option in the API to reset an employee password unless the API is logged in as that user, which isn't possible if they don't know their password.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2022, 12:33am UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266/3 "2022-07-26T00:33:58Z")

</div>

Welcome to our community! 😃

This has nothing to do with Elasticsearch or the rest of the Elastic Stack, so I am not sure how we can help here sorry.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2022, 12:34am UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266/4 "2022-08-23T00:34:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
