Hi @narges.fallahi,
Welcome to the Auth0 Community!
I understand that you have questions about blocking and unblocking users with the Management API.
Yes, that is correct. The way to globally block or unblock a user is to call the Management API UPDATE /api/v2/users
endpoint with the blocked
property set to true
or false
.
Yes, that is also correct. The method for removing IP blocks that are triggered by Auth0’s Attack Protection is by calling the Management API DELETE /api/v2/user-blocks
endpoint.
Please let me know if you have any further questions. I’d be happy to help.
Thank you.