Create a CNAME record with api

i want to create a CNAME record using api, but as we can see in the documentation [Preformatted text](https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-create-dns-record) that the only allowed type is A .

is there any other solution ?

You’re looking at the example for an An A Record


If you click on that and click CNAME, you can see an example body for a CNAME record

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.