Hi,
When you enable Disable Users Enumeration it will prevent the following type of URLs yoursite.com/?author=3. It will display the following error message Accessing author info via link is forbidden.
But pulling up this URL in a fresh browser enumerates all users still:
https://www.MY WEBSITE ADDRESS.com/wp-json/wp/v2/users
Judging from the above comment you need to enable the following feature Disallow Unauthorized REST Requests:. When enabled, the WP REST API protects against queries made to the rest api. eg: https://yoursite.com/wp-json/wp/v2/
. When attempting to visit this URL, they will see the following error message You are not authorized to perform this action.
Let me know if the above helps you.
Thank you