Archived topic
Restrict Access to REST API (just like generatepress.com)
3 replies · Started by Han on September 30, 2018
Hi there,
I have a somewhat peculiar support question. Would like to apologise in advance if this isn't appropriate.
I'm looking to restrict access to my site's REST API. I happened to chance upon generatepress.com/wp-json and I'm shown an error message, saying that '... only authenticated users can access the REST API.'
This is exactly what I need to implement for my site. Could you share the way you guys did it?
Ed
Hi there,
We're using this plugin: https://wordpress.org/plugins/disable-json-api/
Hope this helps :)
Thanks for this Tom!!!
Ed
No problem :)