Skip to content

Create a rate limit

New limits can be created and existing ones updated at any time with the ratelimitcli limits upsert command.

Update the rate limit definition with a new burst limit - the amount of instant capacity - and rate limit - the rate at which capacity is restored like so.

ratelimitcli limits upsert --throttling-burst-limit 2 --throttling-rate-limit 0

The limit ID is returned on every succesful response.

Ok: API response ({"limit_id": "a9f9f31b-2c0b-321b-b398-f9d36kd30820"}).