Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 3.63 KB

File metadata and controls

13 lines (9 loc) · 3.63 KB

PutV1KeysKeyIdRatelimit

Unkey comes with per-key ratelimiting out of the box. Set null to disable.

Fields

Field Type Required Description
type operations.PutV1KeysKeyIdType ✔️ Fast ratelimiting doesn't add latency, while consistent ratelimiting is more accurate.

Learn more
limit number ✔️ The total amount of burstable requests.
refillRate number ✔️ How many tokens to refill during each refillInterval.
refillInterval number ✔️ Determines the speed at which tokens are refilled, in milliseconds.