# Can't unblock user

**URL:** <https://community.auth0.com/t/cant-unblock-user/90827>\
**Category:** Get Help\
**Tags:** api, management-api, auth0\
**Created:** [September 17, 2022, 9:19pm UTC](https://community.auth0.com/t/cant-unblock-user/90827 "2022-09-17T21:19:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkuni](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/darkuni/32/39985_2.png) [@darkuni](https://community.auth0.com/u/darkuni)\
**Post date:** [September 17, 2022, 9:19pm UTC](https://community.auth0.com/t/cant-unblock-user/90827/1 "2022-09-17T21:19:43Z")

</div>

Hey i am trying to implement a feature for blocking and unblocking users, blocking a user works through sending a patch request to the /api/v2/users/{user\_id} but when unblocking through sending a delete request to /api/v2/user-blocks?identifier={user\_id} i get 204 back which means user should be unblocked but when i go to the dashboard it is not blocked? any idea

---

<div class="post-metadata">

**Author:** ![darkuni](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/darkuni/32/39985_2.png) [@darkuni](https://community.auth0.com/u/darkuni)\
**Post date:** [September 17, 2022, 9:37pm UTC](https://community.auth0.com/t/cant-unblock-user/90827/2 "2022-09-17T21:37:52Z")

</div>

Edit: nor of the two endpoints worked for me : “/api/v2/use-blocks?identifier={user\_id} " && " /api/v2/user-blocks/{user\_id}]” which both return 204 but doesn’t unblock the user.  
the only solution that worked was sending a patch to “/api/v2/users” and set {“blocked”: false}

---

<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:** [October 1, 2022, 9:38pm UTC](https://community.auth0.com/t/cant-unblock-user/90827/3 "2022-10-01T21:38:30Z")

</div>

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