Delete images
You can delete an image from the Cloudflare Images storage using the dashboard or the API.
-
In the Cloudflare dashboard, go to Transformations page.
Go to Transformations -
Find the image you want to remove and select Delete.
-
(Optional) To delete more than one image, select the checkbox next to the images you want to delete and then Delete selected.
Your image will be deleted from your account.
Make a DELETE request to the delete image endpoint. {image_id} must be fully URL encoded in the API call URL.
curl --request DELETE https://api.cloudflare.com/client/v4/accounts/{account_id}/images/v1/{image_id} \--header "Authorization: Bearer <API_TOKEN>"After the image has been deleted, the response returns "success": true.