Engage Policies to APIs
Policies can be engaged in API level and operational level based on the functionality.
-
Sign in to the API Publisher Portal at
https://<APIM_HOSTNAME>:9443/publisher
. -
Click on the API that you want to engage the policy.
-
Click on the Policies tab under API Configurations on left side tab panel.
-
To add an API Level Policy, Drag and drop the required policies from the policy list to the relevant flow. (Request, Response or Fault Flow)
-
To add an Operation Level Policy, Drag and drop the required policies from the policy list to the relevant flow of the API Resource. (Request, Response or Fault Flow)
-
Fill the attributes mentioned on the policy and click Save.
-
Then the policy will be added to the API as follows.
-
Scroll to down and click Save and Deploy to apply the changes to the API.