API Manager admins can add new throttling tiers through the Management Console as described in the instructions below. For a description of throttling tiers, see API-level throttling.
- Log in to the API Manager's Management Console and select Browse under Resources menu.
- Select the file: /_system/governance/apimgt/applicationdata/tiers.xml.
In the Contents panel, click Edit as text link and throttling policy should open up bellow.
wsp:Policy> <throttle:ID throttle:type="ROLE">Platinum</throttle:ID> <wsp:Policy> <throttle:Control> <wsp:Policy> <throttle:MaximumCount>50</throttle:MaximumCount> <throttle:UnitTime>60000</throttle:UnitTime> </wsp:Policy> </throttle:Control> </wsp:Policy> </wsp:Policy>
The file looks as follows after the addition:
- lick the Save Content button. Now your new throttling policy (Platinum) is successfully saved in the Repository used by WSO2 API Manager. You can view this new throttle tier available for selection when creating a new API through the API Publisher. For more information, refer to section Creating an API .