To solve this issue until a fix comes out, is to open up a terminal window and run this command:
Change the <ZONE_ID>
to the current website Zone ID you’re viewing - located bottom right of the Overview Page
Change the <EMAIL>
with the one used for your account (e.g. [email protected])
Change the <API_KEY>
found at your My Profile → API Tokens → Global API Key
(use a text editor to make the necessary changes and then copy & paste the entirety of it back into the terminal window and run it.)
curl -X GET \
"https://api.cloudflare.com/client/v4/zones/<ZONE_ID>/filters"
-H "X-Auth-Email: <EMAIL>" \
-H "X-Auth-Key: <API_KEY>"
If successful, you will see a result of, “success”: true, somewhere in the response back.
In case there are those who are reading this and don’t know where the Filter Lists are located, simply login to your account and at the bottom left of the Home page (where you select your sites), you will see Manage Account → Configurations → Lists
Find the List that won’t delete as it is shown in your account and based off the response from that command in the terminal window, you will see the id key associated with an expression with that exact same name in it. This key is referenced as the FILTER_ID in documentation and what is required in order to proceed in removing it completely from your account.
Locate the matching List name from that response, then take the ID key for it and run this command:
(use a text editor to make the necessary changes again and then copy & paste it back into the same terminal window and run it.)
curl -X GET \
"https://api.cloudflare.com/client/v4/zones/<ZONE_ID>/filters/<FILTER_ID>"
-H "X-Auth-Email: <EMAIL>" \
-H "X-Auth-Key: <API_KEY>"
After you do this, if successful, you will see a result of, “success”: true, again.
I found I had to use the GET command to find all the Filters for the current Zone ID first, then isolate the Filter ID that was unable to be deleted and THEN remove it with the following command:
curl -X DELETE \
"https://api.cloudflare.com/client/v4/zones/<ZONE_ID>/filters/<FILTER_ID>"
-H "X-Auth-Email: <EMAIL>" \
-H "X-Auth-Key: <API_KEY>"
You should see “success”: true, once again and the best part is next. Refresh the List page in your browser and you will see the Delete action is no longer greyed out anymore. Now you can enjoy clicking it!
Cheers!