[Resolved] Restrict Access to REST API (just like generatepress.com)

Home Forums Support [Resolved] Restrict Access to REST API (just like generatepress.com)

Home Forums Support Restrict Access to REST API (just like generatepress.com)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #690308
    Han

    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

    #690899
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    We’re using this plugin: https://wordpress.org/plugins/disable-json-api/

    Hope this helps ๐Ÿ™‚

    #691101
    Han

    Thanks for this Tom!!!

    Ed

    #691186
    Tom
    Lead Developer
    Lead Developer

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.