Mark Pashmfouroush
Mark Pashmfouroush

Reputation: 71

CloudFlare API v4, no way of enabling cloudflare proxy on dns records

So I'm working on something in C# that uses the JSON API from CloudFlare to automate the process of adding DNS records. However the website shows a grey cloud that must be clicked to orange to enable their service. I was wondering if there was a way of doing this in C# since I can't see the functionality in their API.

Upvotes: 1

Views: 2862

Answers (1)

Mark Pashmfouroush
Mark Pashmfouroush

Reputation: 71

Ah! Found a solution to my problem. CloudFlare don't mention in their API that you can specify the proxied mode to true in the JSON data you send in the POST request to create the DNS record.

Upvotes: 1

Related Questions