Contact Us 1-800-596-4880

Reordering Policies

In Mule Gateway, to execute certain policies before others, you can configure the order of execution of included and custom API level policies. However, you cannot configure API level policies to execute before automated policies.

You reorder policies via API Manager.

You cannot configure the execution order of the Cross-Origin Resource Sharing (CORS) policy. In Mule Gateway, the CORS policy executes before automated and API level policies.

Mule Gateway

To reorder policies in Mule Gateway:

  1. Go to Anypoint Platform > API Manager.

  2. In API Administration click the name of the API whose policies you want to reorder.

  3. From the left navigation menu, click Policies.

  4. From the top of the list of the applied policies, click Reorder policies.

  5. From the Reorder Applied Policies section, use the up and down arrows to rearrange the order of policies.

  6. Click Apply order.