You can configure a group rate limit policy that applies to all the managed APIs and custom APIs in a group. The group rate limit policy controls the number of times API consumers can invoke the APIs in a group during a designated time period.
If an API in the group has an API-specific policy that is different than the group policy, API Manager applies the API-specific policy to the API.
If all the APIs in your organization have a group policy that is different than the organizational policy, API Manager applies the group policy to all the APIs in the group.
If you add managed APIs that use anonymous authentication to a group, the group rate limit policy applies to all users for each anonymous API in the group.
You can assign rate limit tiers to specific users. User-specific tiers determine the access policies of the user that you assign them to and override the general group tier. For more information, see Rate limit tiers.
Configuring a group rate limit policy
Configure a rate limit policy that applies to all the APIs in the group.
1On the API Groups page, click to open the Actions menu of the API group and select Edit.
The Group Details window appears.
2Select the Policies tab.
If no tiers are defined, click Tier Setup and create tiers. For more information, see Creating tiers.
3In the Rate Limit area, select Enable group rate limit policy.
4To assign a general group rate limit policy, select a rate limit tier 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.
5Optionally, to assign a user-specific rate limit policy to a specific user, perform the following steps:
aExpand the User-specific Tiers area.
bEnter 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.
cAssign tiers to as many users as required.
6Click Save.
To disable the rate limit policy for the group, clear the option Enable group rate limit policy and click Save.