Cloudflare Docs
Images
Visit Images on GitHub
Set theme to dark (⇧+D)

Delete images

If you want to remove an image from the Cloudflare Images storage, you have two options:

Here is an example of how to delete an image through an API call:

curl -X DELETE https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1/:image_id \
--header 'Authorization: Bearer :token'

You will receive a response similar to this:

{
  "result": {},
  "result_info": null,
  "success": true,
  "errors": [],
  "messages": []
}