Auth0 Home Blog Docs

Block user via api call



I have an active/inactive user functionality. I was thinking to use the unblocked/blocked functionality.
I’m using .net and I didn’t found any way to do this via api. Is there a way? how can this be implemented?

Thank you,


There is not an explicit call for doing this on the management API, you simply patch the user with { blocked: true } or { blocked: false }


works as a charm, thank you