---
title: Rate Limits
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Rate Limits

##### [List rate limits](https://developers.cloudflare.com/api/typescript/resources/rate_limits/methods/list)

Deprecated

client.rateLimits.list(RateLimitListParams {zone\_id, page, per\_page } params, RequestOptionsoptions?): void

GET/zones/{zone\_id}/rate\_limits

##### [Get a rate limit](https://developers.cloudflare.com/api/typescript/resources/rate_limits/methods/get)

Deprecated

client.rateLimits.get(stringrateLimitID, RateLimitGetParams {zone\_id } params, RequestOptionsoptions?): void

GET/zones/{zone\_id}/rate\_limits/{rate\_limit\_id}

##### [Create a rate limit](https://developers.cloudflare.com/api/typescript/resources/rate_limits/methods/create)

Deprecated

client.rateLimits.create(RateLimitCreateParams {zone\_id, action, match, 2 more } params, RequestOptionsoptions?): void

POST/zones/{zone\_id}/rate\_limits

##### [Update a rate limit](https://developers.cloudflare.com/api/typescript/resources/rate_limits/methods/edit)

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](https://developers.cloudflare.com/api/typescript/resources/rate_limits/methods/delete)

Deprecated

client.rateLimits.delete(stringrateLimitID, RateLimitDeleteParams {zone\_id } params, RequestOptionsoptions?): void

DELETE/zones/{zone\_id}/rate\_limits/{rate\_limit\_id}

##### ModelsExpand Collapse

<details>

<summary>

Action = "block"| "challenge"| "js\_challenge"| 4 more

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

</summary>

One of the following:

"block"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"challenge"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"js\_challenge"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"managed\_challenge"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"allow"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"log"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

"bypass"

<a href="#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rate_limits%20%3E%20(model)%20action%20%3E%20(schema)>)