curl --location --request GET 'https://api.cloudflare.com/client/v4/zones//pagerules'
/images/*
) but want a more specific Page Rule to take precedence (rule B: /images/special/*
), specify a higher priority for rule B so it overrides rule A.{
"errors": [],
"messages": [],
"result": [
{
"actions": [
{
"id": "browser_check",
"value": "on"
}
],
"created_on": "2014-01-01T05:20:00.12345Z",
"id": "023e105f4ecef8ad9ca31a8372d0c353",
"modified_on": "2014-01-01T05:20:00.12345Z",
"priority": 1,
"status": "active",
"targets": [
{
"constraint": {
"operator": "matches",
"value": "*example.com/images/*"
},
"target": "url"
}
]
}
],
"success": true
}