You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

To let REST API calls fail with 403 Forbidden if IP not in LBAC range

Accepted answer


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.

Content (required):

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!