In order to set a quota for a token:
- Ensure that
quota_maxis set to the maximum amount of requests that a user is allowed to make in a time period.
quota_reaminingis set to the same value as
quota_max, this is the value that will decrement on each request (failed or successful).
- Set the
quota_renewal_rateto the value, in seconds, of when the quota should renew. For example, if you would like it to renew every 30 days, you would have
((60*60) * 24) * 30 = 2592000).
Note: To set an unlimited quota, set