You can remove a local ESXi user from the host.
Caution: Do not remove the root user.
If you remove a user from the host, they lose permissions to all objects on the host and cannot log in again.
Note: Users who are logged in and are removed from the domain keep their host permissions until you restart the host.