About Resource Level Policies

Resource level policy support includes RAML and HTTP APIs. A policy applied at a resource level affects all methods, or selected methods, within the resource.

methods resources

You can apply multiple conditions to filter your resources and methods. The URI template regex can be applied to one, many or all the methods that your API has.

Unsupported Policy

You cannot apply the CORS policy to resources.

Usage Scenarios

The uses for resource level policies are limited mainly by your imagination. Here are a few possibilities:

  • Applying policies to specific resources

  • Securing a subset of an API

  • Setting different limits on resources

If you have a RAML spec attached to your API, click Preview Resource Matching to check which resources your filters affect.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.