Skip to content

Instantly share code, notes, and snippets.

View NoahBohme's full-sized avatar
🧙‍♂️
bugfixing

Noah Böhme Rasmussen NoahBohme

🧙‍♂️
bugfixing
View GitHub Profile
@slayer
slayer / cloudflare-delete-all-records.sh
Last active March 21, 2024 10:17
Delete all DNS records for specified zone
#!/bin/bash
TOKEN="xxxxxxxxxxxxxxxxxxx"
ZONE_ID=2222222222222222222222222
# EMAIL=me@gmail.com
# KEY=11111111111111111111111111
# Replace with
# -H "X-Auth-Email: ${EMAIL}" \
# -H "X-Auth-Key: ${KEY}" \