rate-limit
Traffic Policy action docs for more information.
By endpoint
This rule applies rate limiting of30
requests per second to the endpoint /api/videos
.
Based on authentication status
This rule creates a lower rate limit for unauthenticated (likely free) users, while allowing authenticated users a higher level of capacity.Based on pricing tiers
Using a naming scheme in your upstream servers with API calls using atier
header, you can quickly customize access to your API based on any number of pricing tiers.
This rule checks for a Tier
header in the request and applies rate limiting based on the value of that header.