npx wrangler d1 delete my-db

Category: Cloudflare

npx wrangler d1 delete my-db

Delete a D1 database

Permanently removes the database and all its data, including backups, with a confirmation prompt. Add --skip-confirmation to bypass it in scripts. Export first with `wrangler d1 export` if there is any chance you need the data again. This cannot be undone.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.