Auth0 Java SDK how to deactive an user correct way

So i was an junior developer and i had an task that create api for deactive and active user, so what is the correct way to deactive/active an user throught Auth0 SDK

Hi @leduananh96,

Welcome to the Auth0 Community!

Could you elaborate more on what you mean by creating an API for deactivated and activated users?

Thanks,
Rueben