Nav

To Apply a Policy

You can apply the rate limiting policy to limit the number of requests to an API within a period of time.

  1. Click 1.0development to go to the API version details for the vending API.

    The API version details page for the vending API appears.

  2. On the Policies tab, scroll down to the rate limiting policy, and click Apply.

    The Apply Rate limiting Policy dialog appears.

  3. Configure the policy. For example, configure rate limiting to 3 requests per minute.

  4. Click Apply.

  5. Click 1.0development to go to the API version details for the test-policy API.

  6. Apply the rate limiting policy to the test-policy API.