Advanced DNS Protection
Use the Cloudflare API to configure Advanced DNS Protection via API.
For examples of API calls, refer to Common API calls.
To obtain the complete endpoint, append the Advanced DNS Protection API endpoints listed below to the Cloudflare API base URL:
https://api.cloudflare.com/client/v4
The {account_id}
argument is the account ID (a hexadecimal string). You can find this value in the Cloudflare dashboard.
The following table summarizes the available operations.
Operation | Verb + Endpoint |
---|---|
List DNS protection rules |
|
Add a DNS protection rule |
|
Get a DNS protection rule |
|
Update a DNS protection rule |
|
Delete a DNS protection rule |
|
Delete all DNS protection rules |
|
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark