Skip to main content
Version: v2

RateLimit

A token-bucket rate limiter.

isEnabledbooleanrequired

Whether the rate limiter is enforced.

capacitystringrequired

Maximum bucket capacity.

Possible values: Value must match regular expression ^[0-9]+$

Example: 50000000000000000000000
ratestringrequired

Refill rate per second.

Possible values: Value must match regular expression ^[0-9]+$

Example: 13880000000000000000
JSON
RateLimit
{
"isEnabled": true,
"capacity": "50000000000000000000000",
"rate": "13880000000000000000"
}