Disable WP REST API By Jeff Starr
Disables the WP REST API for visitors not logged into WordPress.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed