Cloudflare 中文文档
Cloudflare Image Optimization
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

Delete variants

You can delete variants via the Images dashboard or API. The only variant you cannot delete is public.

​​ Delete variants via the Cloudflare dashboard

  1. Log in to the Cloudflare dashboard and select your account.
  2. Select Images > Variants.
  3. Find the variant you want to remove and select Delete.

​​ Delete variants via the API

Make a DELETE request to the delete variant endpoint.

After the variant has been deleted, the response returns "success": true.