Upstash · Method
ratelimit.resetUsedTokens
resetUsedTokens clears the rate-limit state for one identifier. Use it when that identifier should start with fresh limiter state.
Last updated
Syntax
ratelimit.resetUsedTokens(identifier: string): Promise<void>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
limitblockUntilReadygetRemainingRatelimit.slidingWindowRatelimit.tokenBucketRatelimit.fixedWindow