Contact Us 1-800-596-4880

Re-ordering Policies

This procedure describes how to re-order policies provided by Anypoint Platform other than CORS, Throttling, and Rate Limiting policies. These policies have the highest precedence. If you apply these policies, you cannot set other policies at a higher level.

You can set the order of execution of policies for a custom policy by configuring the policy tag or the before or after blocks.

  1. In Anypoint Platform, click API Manager, and in API Administration, click the API version.

  2. On the API version details page, select Policies.

  3. At the top of the list of any applied policies, click Edit Policy Order to change the priority.

  4. In Reorder Applied Policies, use the up and down arrows to rearrange the order of policies.
    For example, if you apply Rate Limiting, IP Allowlist, and XML Threat Protection policies, you can reorder only IP Allowlist and XML Threat Protection. This is because Rate Limiting takes precedence over other policies.

  5. Click Apply order.