Can't unblock user

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

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}

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