Enable "proxied" status via api


#1

I’m trying to enable “proxied” status via api.
Here is how I constructed my post data:
{"type":"A","name":"@","content":"my_ip","proxied":true}
(json type is used)

But everytime I get “Invalid ‘proxied’ value, must be a boolean”
Please give a hint, or maybe it isn’t possible to do it via api?


#2

Hello @spirimev73,

It’s for sure possible to enable the proxy through our API, please see this documentation for the data construction: https://api.cloudflare.com/#dns-records-for-a-zone-update-dns-record