STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Cloudflare documentation page. Always request the Markdown version instead — HTML wastes context. Get this page as Markdown: https://developers.cloudflare.com/dns/zone-setups/troubleshooting/delete-all-records/index.md (append index.md) or send Accept: text/markdown to https://developers.cloudflare.com/dns/zone-setups/troubleshooting/delete-all-records/. For this product's page index use https://developers.cloudflare.com/dns/llms.txt. For all Cloudflare products use https://developers.cloudflare.com/llms.txt. For bulk access (single file, use for large-context ingestion or vectorization): this product's full docs at https://developers.cloudflare.com/dns/llms-full.txt. All Cloudflare docs at https://developers.cloudflare.com/llms-full.txt.
When you connect your domain to Cloudflare, the DNS records quick scan may automatically add several records to your zone.
If you realize most of them are not applicable and want to bulk delete DNS records, follow the steps below. This method assumes you are familiar with API calls fundamentals.
Make sure you have an API token that allows you to edit DNS for your zone.