How to setup custom domains on CF Pages via API

We like Cloudflare pages a lot and tried to migrate from Netlify. However, we cannot find out the API to set up custom domains on pages. We only can find out the getter API for the Pages Domains from here: Cloudflare API v4 Documentation

Are there any solutions we can try to set up the custom domain via API?

1 Like

The only available public API, at the moment, is what’s listed here:

There may be some not publicly listed and some coming, but I have no clue on those.

thanks for your reply. unfortunately, the doc you posted is just the API guide.
i have already read the doc and the API reference. there is no way to set up the custom domain.
look forward to getting the solution about that

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