To let REST API calls fail with 403 Forbidden if IP not in LBAC range
We are using LBAC and would like purchase order REST API to fail with Status 403 – Forbidden for suppliers.
Since suppliers are external parties, They try to call Purchase order REST API and REST API call completes with Status 200. Since they don't have required privilege so they are not able to create, update or get any data from our system.
But we would like this API also to be giving a final status as Status 403 – Forbidden.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):