# List of locked users

**URL:** <https://community.auth0.com/t/list-of-locked-users/77238>\
**Category:** Get Help\
**Tags:** api\
**Created:** [January 28, 2022, 3:52pm UTC](https://community.auth0.com/t/list-of-locked-users/77238 "2022-01-28T15:52:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![natasha1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/natasha1/32/33791_2.png) [@natasha1](https://community.auth0.com/u/natasha1)\
**Post date:** [January 28, 2022, 3:52pm UTC](https://community.auth0.com/t/list-of-locked-users/77238/1 "2022-01-28T15:52:36Z")

</div>

Hi,

I would like to know how can i extract the list of the locked users that was locked because of the wrong credential. And i would like to receive this information using api.

Regards,  
Natasha

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 28, 2022, 6:42pm UTC](https://community.auth0.com/t/list-of-locked-users/77238/3 "2022-01-28T18:42:26Z")

</div>

Hi @natasha1,

Welcome to the Auth0 Community!

Unfortunately, it’s not possible to query for the list of blocked users from brute force protection.

Currently, there is the option to [get the user’s block](https://auth0.com/docs/api/management/v2#!/User_Blocks/get_user_blocks_by_id) using the Management API v2.

If you have a moment, could you please [create a feedback request](https://community.auth0.com/c/feedback/95) asking support for an endpoint to get a list of blocked users from brute force protection?

Please let me know if there’s anything else I can do to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![natasha1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/natasha1/32/33791_2.png) [@natasha1](https://community.auth0.com/u/natasha1)\
**Post date:** [January 29, 2022, 7:18am UTC](https://community.auth0.com/t/list-of-locked-users/77238/4 "2022-01-29T07:18:03Z")

</div>

Hi Rueben,  
Can it be as alternative to to send request “blocked\_user” in batch ?  
I mean i would need to pass through the all users and send this requests per every user that i have  
in the system ?  
And of cause it will be expensive to do such a batch request  
Regards

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 13, 2022, 7:18am UTC](https://community.auth0.com/t/list-of-locked-users/77238/5 "2022-02-13T07:18:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 17, 2022, 11:14pm UTC](https://community.auth0.com/t/list-of-locked-users/77238/6 "2022-02-17T23:14:45Z")

</div>

Hi @natasha1,

Thank you for your response.

> [@natasha1](#):
>
> I mean i would need to pass through the all users and send this requests per every user that i have  
> in the system ?

That’s correct. Because of the way the Management API works, you will have to check each user to determine if they have a block.

I understand that it’s an expensive operation, but there isn’t a workaround.

It may be worth considering [streaming your logs](https://auth0.com/docs/customize/log-streams) to third parties and triggering an email notification when a user is blocked. This way, you can keep track of your blocked users without using the Management API to search through every user if they have a block.

Please do not hesitate to reach out if you have additional questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 17, 2022, 11:14pm UTC](https://community.auth0.com/t/list-of-locked-users/77238/7 "2022-02-17T23:14:50Z")

</div>



---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 4, 2022, 11:15pm UTC](https://community.auth0.com/t/list-of-locked-users/77238/8 "2022-03-04T23:15:07Z")

</div>

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