Using the Cloudflare API, requires authentication so that Cloudflare knows who is making requests and what permissions they have. An API Token can be created to grant access to the API to perform actions. See creating an API Token for more on this. When using the Cloudflare API, developers need to authenticate API requests.
curl -X DELETE \ "https://api.cloudflare.com/client/v4/zones/<ZONE_ID>/filters?id=<FILTER_ID_1>&id=<FILTER_ID_2>" \ -H "X-Auth-Email: <EMAIL>" \ -H "X-Auth-Key: <API_KEY>"
Updated 8 months ago