Subscription functionality?


#1

Hello,

I’m fairly new to Kong and just created my Kong Nation account.

I want to add automatic expiration dates to my consumers (or their API keys) or any other way to disable their access to endpoints. Right now I’m doing that by “rate limiting” but it not reliable and requires some manual control.

Is there any way to do it or am I missing the point?


#2

Hi,

Have you checked out the ACL plugin? restrict the access of your endpoint to a specific group (thanks to the ACL plugin), add your consumer to this group, and at expiration date remove the consumer from this group.
This all can be achieved via the admin API, so you can build your mechanism around this


#3

Hey,

Thanks for answering.

I was asking if there was a way to do it on Kong internally or is there a plugin for it.