Delete variants
You can delete variants via the Images dashboard or API. The only variant you cannot delete is public.
- Log in to the Cloudflare dashboard and select your account.
- Select Images > Variants.
- Find the variant you want to remove and select Delete.
For detailed information on using the API, refer to the API endpoint documentation.
The following example deletes a variant through an API call:
You will receive a response similar to this: