| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/cache/subresources/cache_reserve/methods/status | [Back] [Original] |
You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194Zone Settings WriteZone Settings ReadZone ReadZone WriteYou can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/cache/cache_reserve_clear \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [],
"messages": [],
"result": {
"end_ts": "2023-10-02T12:00:00.12345Z",
"id": "cache_reserve_clear",
"start_ts": "2023-10-02T10:00:00.12345Z",
"state": "Completed"
},
"success": true
}{
"errors": [],
"messages": [],
"result": {
"id": "cache_reserve_clear",
"start_ts": "2023-10-02T10:00:00.12345Z",
"state": "In-progress"
},
"success": true
}{
"errors": [
{
"code": 1142,
"message": "Unable to retrieve cache_reserve_clear setting value. The zone setting does not exist because you never performed a Cache Reserve Clear operation."
}
],
"messages": [],
"result": null,
"success": false
}{
"errors": [],
"messages": [],
"result": {
"end_ts": "2023-10-02T12:00:00.12345Z",
"id": "cache_reserve_clear",
"start_ts": "2023-10-02T10:00:00.12345Z",
"state": "Completed"
},
"success": true
}{
"errors": [],
"messages": [],
"result": {
"id": "cache_reserve_clear",
"start_ts": "2023-10-02T10:00:00.12345Z",
"state": "In-progress"
},
"success": true
}{
"errors": [
{
"code": 1142,
"message": "Unable to retrieve cache_reserve_clear setting value. The zone setting does not exist because you never performed a Cache Reserve Clear operation."
}
],
"messages": [],
"result": null,
"success": false
}| Web Proxy Viewer | New URL | Original Page |