api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

API key limitations

Open aniketgambhire opened this issue 6 years ago • 1 comments

@GUI

  1. Is there any way to disable user API-key after a period of time( for eg: a user has taken a subscription for 1 month, I want the API key to be disabled after 1 month)? I can write a code for that but I just want to know whether there is any in-built functionality is available?
  2. How can I control API requests for each APIs?

e.g. - User has a 1000 daily API key limit. how can I manage API rate limiting using API-key as

  1. For 1st API only 100 API requests
  2. For 2nd API only 500 API requests
  3. For 3rd API only 400 API requests

@brylie have you faced any similar issue?

aniketgambhire avatar Aug 20 '19 14:08 aniketgambhire

My guess is that this is a bit out of scope for what umbrella does.

For handling transactions or subscriptions, you may want to take the authentication that the api verification gives you and then track usage / subscription in our backend api system.

science695 avatar Aug 21 '19 12:08 science695