Apply a Policy
For Flex Gateway running in Connected Mode, you apply included policies via API Manager:
-
Go to Anypoint Platform > API Manager.
-
In API Administration click the name of the API to which to apply a policy.
-
From the left navigation menu, click Policies.
-
Click + Add policy.
-
Select the policy to apply.
-
Configure the required configuration parameters.
For policy configuration parameters, see Included Policies Directory.
-
Click Apply
You can apply a policy either to the entire API (default) or to specific methods and resources of an API.