---
title: Rate Limits
---

[Skip to content](#_top)

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

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/python/resources/rate_limits/methods/list)

Deprecated

rate\_limits.list(RateLimitListParams\*\*kwargs)

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

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

Deprecated

rate\_limits.get(strrate\_limit\_id, RateLimitGetParams\*\*kwargs)

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

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

Deprecated

rate\_limits.create(RateLimitCreateParams\*\*kwargs)

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

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

Deprecated

rate\_limits.edit(strrate\_limit\_id, RateLimitEditParams\*\*kwargs)

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

##### [Delete a rate limit](https://developers.cloudflare.com/api/python/resources/rate_limits/methods/delete)

Deprecated

rate\_limits.delete(strrate\_limit\_id, RateLimitDeleteParams\*\*kwargs)

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

##### ModelsExpand Collapse

<details>

<summary>

Literal\["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)>)