| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/dns/subresources/records/methods/delete | [Back] [Original] |
Permanently removes a DNS record from the zone.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194DNS Writecurl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$DNS_RECORD_ID \
-X DELETE \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"id": "023e105f4ecef8ad9ca31a8372d0c353"
}
}{
"result": {
"id": "023e105f4ecef8ad9ca31a8372d0c353"
}
}| Web Proxy Viewer | New URL | Original Page |