Skip to content
Start here

Rate Limits

List rate limits
Deprecated
client.rateLimits.list(RateLimitListParams { zone_id, page, per_page } params, RequestOptionsoptions?): void
GET/zones/{zone_id}/rate_limits
Get a rate limit
Deprecated
client.rateLimits.get(stringrateLimitID, RateLimitGetParams { zone_id } params, RequestOptionsoptions?): void
GET/zones/{zone_id}/rate_limits/{rate_limit_id}
Create a rate limit
Deprecated
client.rateLimits.create(RateLimitCreateParams { zone_id, action, match, 2 more } params, RequestOptionsoptions?): void
POST/zones/{zone_id}/rate_limits
Update a rate limit
Deprecated
client.rateLimits.edit(stringrateLimitID, RateLimitEditParams { zone_id, action, match, 2 more } params, RequestOptionsoptions?): void
PUT/zones/{zone_id}/rate_limits/{rate_limit_id}
Delete a rate limit
Deprecated
client.rateLimits.delete(stringrateLimitID, RateLimitDeleteParams { zone_id } params, RequestOptionsoptions?): void
DELETE/zones/{zone_id}/rate_limits/{rate_limit_id}
ModelsExpand Collapse
Action = "block" | "challenge" | "js_challenge" | 4 more

The action to apply to a matched request. The log action is only available on an Enterprise plan.

One of the following:
"block"
"challenge"
"js_challenge"
"managed_challenge"
"allow"
"log"
"bypass"