I refer:http://vinaikopp.com/2017/02/18/magento2_repositories_interfaces_and_webapi/ So apart from that any other way possible to restrict API and also is it possible to restrict few methods in API which is provided by Magento2?

Any help would be appreciated.

Thanks in advance..!

  • 1
    create a resource which is allocated to no one. Add this resource to API which you want to restrict.
    – 26vivek
    Commented Dec 31, 2019 at 7:38


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.