BACK TO DIRECTORY

SMNTCS Disable REST API User Endpoints

by Niels Lange

5.0
(2 ratings)

By default, anyone can request /wp-json/wp/v2/users on a WordPress site and get a list of every author’s username slug. Attackers use that list to guess logins.

SMNTCS Disable REST API User Endpoints removes the user endpoints from the REST API for visitors who are not logged in. Logged-in users and everything else in the REST API keep working, including the block editor.

There are no settings. Activate the plugin and the user endpoints are gone.

Contribute

Contributions are more than welcome. Simply head over to GitHub and open an issue or a pull request.

Plugin Details

Active Installs
8K+
Total Downloads
47,500
Version
2.6
Requires WP
5.5
Requires PHP
5.6
Tested Up To
7.1.3
Added
2016-12-24
Last Updated
2026-09-26 4:13am GMT

Ratings

5
2
4
0
3
0
2
0
1
0