curl --location --request GET 'https://api.cloudflare.com/client/v4/zones//rate_limits'
period
property to establish a threshold per period.{
"errors": [],
"messages": [],
"result": [
{
"action": {
"mode": "challenge",
"response": {
"body": "<error>This request has been rate-limited.</error>",
"content_type": "text/xml"
},
"timeout": 86400
},
"bypass": [
{
"name": "url",
"value": "api.example.com/*"
}
],
"description": "Prevent multiple login failures to mitigate brute force attacks",
"disabled": false,
"id": "372e67954025e0ba6aaa6d586b9e0b59",
"match": {
"headers": [
{
"name": "Cf-Cache-Status",
"op": "ne",
"value": "HIT"
}
],
"request": {
"methods": [
"GET",
"POST"
],
"schemes": [
"HTTP",
"HTTPS"
],
"url": "*.example.org/path*"
},
"response": {
"origin_traffic": true
}
},
"period": 900,
"threshold": 60
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}