Configure a rate limit policy for a managed API or custom API by assigning a general API-specific tier that applies to all users that access the API. You can also assign tiers to specific users. User-specific tiers determine the access policies of the user that you assign them to and override the general API-specific tier.
On the
API Registry
page, select an API.
The API details window appears.
Select the
Policies
tab.
If no tiers are defined, click
Tier Setup
and create tiers.
Select
Enable API-specific rate limit policy
.
To assign a general API-specific rate limit policy, select a rate limit tier for the API from the
Tier
list. Select how to assign the tier:
To assign a rate limit tier that applies to all users, select
Shared by all users
and click
Save
. All users share the rate limit that you select.
To assign a rate limit tier that applies to each user individually, select
Allocated per user
and click
Save
. Each user is allocated the rate limit that you select.
To assign a user-specific rate limit policy to a specific API user, expand the
User-specific Tiers
area.
Enter the user name in the
User Name
field, select a tier from the
Tier
list and click
Add
.
You can assign only one tier to each user.
Assign tiers to as many users as required.
Click
Save
.
To disable the rate limit policy for the API, clear the option