WordPress plugin
Turn Off REST API
Disable the WordPress REST API for logged out visitors and lock down your /wp-json endpoints, with a per route allow list so you stay in control.
- Active installs
- 100+
- Version
- 1.1.6
- Last updated
- Nov 12, 2026
- Tested up to
- WordPress 7.1.5
- Requires
- WP 4.7 · PHP 7.4
Health check
Is Turn Off REST API safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on November 12, 2026. Regular updates usually mean bugs and security reports get fixed.
Tested with current WordPress
The author has tested it up to WordPress 7.1.5.
Requires PHP 7.4 or newer
Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.
Rank tracker
Where Turn Off REST API ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| disable rest api | ||||
| json | ||||
| rest-api | ||||
| security | ||||
| wp-json | ||||
| turn off rest |
Checked against the top 100 WordPress.org search results.
Overview
What Turn Off REST API does
Turn Off REST API is a lightweight WordPress security plugin that disables the WordPress REST API for visitors who are not logged in. Anonymous requests to your /wp-json endpoints receive an authentication error instead of your site data, while logged in users, the block editor, and your admin area keep working normally.
Because every route is blocked for logged out visitors by default, features that call the REST API on behalf of visitors stop working for them until you allow their routes. This includes the WooCommerce Cart and Checkout blocks and Contact Form 7 form submissions. The FAQ below shows exactly which routes to allow.
By default WordPress exposes a large amount of information through the REST API, including your list of user accounts and usernames, published content, and details about your site. For most sites that open, unauthenticated access is unnecessary and only widens the attack surface for user enumeration and content scraping. Turn Off REST API closes the WordPress REST API to the public in one click, then gives you a clear settings screen to reopen only the specific REST API routes you actually need.
Why turn off the WordPress REST API?
Stop anonymous user enumeration through /wp-json/wp/v2/users.
Reduce your attack surface against REST API based exploits and bots.
Keep your content and site data from being scraped through the public API.
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Turn Off REST API in action

FAQ
Turn Off REST API: questions and answers
What is Turn Off REST API?
Turn Off REST API is a WordPress plugin by ksym04. Disable the WordPress REST API for logged out visitors and lock down your /wp-json endpoints, with a per route allow list so you stay in control.
Is Turn Off REST API free?
Turn Off REST API is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Turn Off REST API?
WordPress.org reports 100+ active installations of Turn Off REST API. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Turn Off REST API still maintained?
Turn Off REST API was last updated on November 12, 2026. The current version is 1.1.6. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Turn Off REST API require?
Turn Off REST API requires WordPress 4.7 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.5.
Can Codefreex set up or customize Turn Off REST API?
Yes. Codefreex installs, configures and customizes WordPress plugins including Turn Off REST API, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Turn Off REST API set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.