CURL command in a terminal shell to test is pass.
But it failed after input the cloudflare account & API token: Failed to save cloud DNS provider : Missing or invalid-looking hexidecimal API key
I use the API as you mentioned, it can be saved and passed.
But after that i choose it from the Virtual Server, it appear another Error:
Failed to save DNS options : Failed to update DNS host : Failed to setup new DNS zone : Adding new DNS zone hosted by Cloudflare DNS .. .. failed : No account found
As my Cloudflare more than 1 domain, it is required only specific zone can be edit. So I created this Token and tried again, now the virtualmin return another error: Failed to save DNS options : DNS zone not found!
as other domains in my cloudflare account cannot be opened for editing in this server. I must specific the zone. So do you mean virtualmin cannot process my case at this moment?