Rate Limits

RateLimits

Methods

list(, ): <>
Deprecated
get/zones/{zone_id}/rate_limits

Deprecated

Rate limiting API is deprecated in favour of using the Ruleset Engine. See https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#rate-limiting-api-previous-version for full details.

Fetches the rate limits for a zone.

get(, , ):
Deprecated
get/zones/{zone_id}/rate_limits/{rate_limit_id}

Deprecated

Rate limiting API is deprecated in favour of using the Ruleset Engine. See https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#rate-limiting-api-previous-version for full details.

Fetches the details of a rate limit.

create(, ):
Deprecated
post/zones/{zone_id}/rate_limits

Deprecated

Rate limiting API is deprecated in favour of using the Ruleset Engine. See https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#rate-limiting-api-previous-version for full details.

Creates a new rate limit for a zone. Refer to the object definition for a list of required attributes.

edit(, , ):
Deprecated
put/zones/{zone_id}/rate_limits/{rate_limit_id}

Deprecated

Rate limiting API is deprecated in favour of using the Ruleset Engine. See https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#rate-limiting-api-previous-version for full details.

Updates an existing rate limit.

delete(, , ):
Deprecated
delete/zones/{zone_id}/rate_limits/{rate_limit_id}

Deprecated

Rate limiting API is deprecated in favour of using the Ruleset Engine. See https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#rate-limiting-api-previous-version for full details.

Deletes an existing rate limit.

Domain types

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.

RateLimit{…}